Fix styling for narrow TOC

This commit is contained in:
2025-07-01 00:30:09 +02:00
parent 69f191847c
commit f5b49ccc81
2 changed files with 4 additions and 1 deletions

View File

@ -256,10 +256,12 @@ table {
@media all and ($desktop)
{
width: 300px;
min-width: 300px;
}
@media all and ($maxDesktop)
{
gap: 0rem;
min-width: 300px;
width: 370px;
padding: 0 3rem;
}
@ -348,6 +350,7 @@ table {
max-height: 100%;
overflow-y: hidden;
height: 100%;
width: inherit;
}
}
}

View File

@ -15,7 +15,7 @@ $breakpoints: (
$mobile: "(max-width: #{map.get($breakpoints, mobile)})";
$tablet: "(min-width: #{map.get($breakpoints, mobile)}) and (max-width: #{map.get($breakpoints, desktop)})";
$desktop: "(min-width: #{map.get($breakpoints, desktop)})";
$maxDesktop: "(min-width: 1500px)";
$maxDesktop: "(min-width: 1630px)";
$pageWidth: #{map.get($breakpoints, mobile)};
$sidePanelWidth: 320px;