mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Updated settings nav to be more flexible
Uses flexbox layout, flexed to content instead of rigid thirds like before. Also extracted row into own file
This commit is contained in:
@ -124,6 +124,9 @@ body.flexbox {
|
||||
.flex-container-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
&.v-center {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-container-column {
|
||||
@ -131,9 +134,17 @@ body.flexbox {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-container-column.wrap, .flex-container-row.wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flex {
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
&.fit-content {
|
||||
flex-basis: auto;
|
||||
flex-grow: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.justify-flex-end {
|
||||
|
Reference in New Issue
Block a user