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:
parent
4ba03c9d38
commit
56af1ceb32
1 changed files with 5 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue