1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

fileserver: browse: Better grid layout (#5564)

* feat: better implementation of grid layout

* fix: vertical alignment
This commit is contained in:
365cent 2023-06-05 03:39:57 -04:00 committed by GitHub
parent 4ba03c9d38
commit 56af1ceb32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {