| ... | @@ -85,7 +85,6 @@ | ... | @@ -85,7 +85,6 @@ |
| 85 | #main-wrapper { | 85 | #main-wrapper { |
| 86 | display: flex; | 86 | display: flex; |
| 87 | flex-direction: column; | 87 | flex-direction: column; |
| 88 | height: 100vh; | | |
| 89 | } | 88 | } |
| 90 | | 89 | |
| 91 | #contents-wrapper { | 90 | #contents-wrapper { |
| ... | @@ -106,6 +105,11 @@ | ... | @@ -106,6 +105,11 @@ |
| 106 | #main-wrapper { | 105 | #main-wrapper { |
| 107 | flex-direction: row; | 106 | flex-direction: row; |
| 108 | } | 107 | } |
| | 108 | #toc { |
| | 109 | height: 100vh; |
| | 110 | position: sticky; |
| | 111 | top: 0; |
| | 112 | } |
| 109 | #contents-wrapper, #toc { | 113 | #contents-wrapper, #toc { |
| 110 | overflow: auto; | 114 | overflow: auto; |
| 111 | } | 115 | } |