1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Homepage: Made much nicer at ipad-like widths

Updated default homepage layout to be much nicer at ipad-like widths by
switching to css-column approach at those breakpoints.
Also neated top actions by switching to simpler flexbox layout.

Fixes #4596
This commit is contained in:
Dan Brown
2023-10-07 12:38:54 +01:00
parent 2e2272343b
commit ccb3c2516a
3 changed files with 17 additions and 12 deletions

View File

@@ -6,6 +6,7 @@
@include lightDark(background-color, #FFF, #222);
box-shadow: $bs-card;
border-radius: 3px;
break-inside: avoid;
.body, p.empty-text {
padding: $-m;
}

View File

@@ -184,6 +184,14 @@ $loadingSize: 10px;
z-index: 150;
}
@include between($s, $m) {
#home-default > .grid.third {
display: block;
columns: 2;
column-gap: $-l !important;
}
}
.list-sort-container {
display: inline-block;
form {