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:
@@ -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;
|
||||
}
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user