summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/fileserver/browse.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/fileserver/browse.html')
-rw-r--r--modules/caddyhttp/fileserver/browse.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/caddyhttp/fileserver/browse.html b/modules/caddyhttp/fileserver/browse.html
index dc148b5..da8074e 100644
--- a/modules/caddyhttp/fileserver/browse.html
+++ b/modules/caddyhttp/fileserver/browse.html
@@ -547,17 +547,16 @@ td .go-up {
}
.grid {
- display: flex;
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
+ justify-items: center;
+ align-items: start;
gap: 2px;
- flex-wrap: wrap;
}
.grid .entry {
position: relative;
- width: 20%;
- min-width: 250px;
- max-width: 400px;
- flex: 1;
+ width: 100%;
}
.grid .entry a {