Fix use max height instead of height

master
Maik de Kruif 2 weeks ago
parent af3694f0ef
commit fab68f78fb
No known key found for this signature in database
GPG Key ID: DB1A8C782DD43CB3
  1. 4
      themes/maik-blog/assets/scss/_main.scss

@ -746,13 +746,11 @@ table {
.toc-content { .toc-content {
position: sticky; position: sticky;
top: 10vh; top: 10vh;
height: 70vh; max-height: 70vh;
margin-bottom: -2em;
margin-left: calc(-300px - 100px); margin-left: calc(-300px - 100px);
display: flex !important; display: flex !important;
flex-direction: column; flex-direction: column;
width: 300px; width: 300px;
right: calc(100% + 100px);
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 6px; width: 6px;

Loading…
Cancel
Save