mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
Sidebar more responsive and sticky
Tweaked CSS to support small-to-large screen real estate.
This commit is contained in:
parent
f20a1d1d5f
commit
25fd13bd3f
6 changed files with 47 additions and 26 deletions
|
@ -1,15 +1,10 @@
|
|||
.document-sidebar {
|
||||
background-color: $color-white;
|
||||
margin: 20px 20px;
|
||||
|
||||
> .document-toc {
|
||||
@include border-radius(3px);
|
||||
@include ease-in();
|
||||
@include sticky();
|
||||
margin: 0;
|
||||
padding: 0 20px 20px 20px;
|
||||
display: block;
|
||||
// height: calc(100vh - 180px);
|
||||
|
||||
> .header {
|
||||
top: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue