mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +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
|
@ -34,3 +34,25 @@
|
|||
margin: 20px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-view-switcher {
|
||||
color: $color-primary;
|
||||
background-color: $color-primary-light;
|
||||
padding: 5px 20px;
|
||||
text-align: center;
|
||||
height: 50px;
|
||||
|
||||
> i {
|
||||
font-size: 2rem;
|
||||
cursor: pointer;
|
||||
@include ease-in();
|
||||
|
||||
&:hover {
|
||||
color: $color-link;
|
||||
}
|
||||
}
|
||||
|
||||
> .divider {
|
||||
margin: 0 10px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue