mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
improved TOC resizer logic
This commit is contained in:
parent
c449bdcd16
commit
26243a5a55
4 changed files with 42 additions and 26 deletions
|
@ -8,7 +8,12 @@
|
|||
overflow: scroll;
|
||||
box-sizing: border-box; // ensures width/height properties (and min/max properties) includes content, padding and border
|
||||
z-index: 777;
|
||||
|
||||
display: block;
|
||||
position: relative; //
|
||||
width: 100%; //
|
||||
height: 500px;
|
||||
transform: none; //
|
||||
|
||||
> .header {
|
||||
@include sticky();
|
||||
flex-direction: column;
|
||||
|
@ -87,12 +92,3 @@
|
|||
-webkit-transform: translate(0px, 0px);
|
||||
transform: translate(0px, 0px);
|
||||
}
|
||||
|
||||
.document-toc-small {
|
||||
display: inline-block;
|
||||
position: relative !important;
|
||||
margin: 0;
|
||||
width: 100% !important;
|
||||
height: 500px;
|
||||
transform: none !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue