mirror of
https://github.com/documize/community.git
synced 2025-08-05 13:35:25 +02:00
Improve document sidebar flexbox CSS
Maximum widths to control table of contents wrapping.
This commit is contained in:
parent
25fd13bd3f
commit
983b84235c
4 changed files with 80 additions and 45 deletions
|
@ -40,6 +40,7 @@ footer {
|
|||
|
||||
.layout-sidebar {
|
||||
flex: 0 0 200px;
|
||||
width: 200px;
|
||||
height: calc(100vh - 140px);
|
||||
@include sticky();
|
||||
top: 2rem;
|
||||
|
@ -59,6 +60,7 @@ footer {
|
|||
|
||||
.layout-sidebar {
|
||||
flex: 0 0 300px;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.layout-content {
|
||||
|
@ -75,6 +77,7 @@ footer {
|
|||
|
||||
.layout-sidebar {
|
||||
flex: 0 0 400px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.layout-content {
|
||||
|
@ -91,6 +94,7 @@ footer {
|
|||
|
||||
.layout-sidebar {
|
||||
flex: 0 0 450px;
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
.layout-content {
|
||||
|
@ -107,6 +111,7 @@ footer {
|
|||
|
||||
.layout-sidebar {
|
||||
flex: 0 0 500px;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.layout-content {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue