Fix toc dropdown overflowing on mobile

This commit is contained in:
daudix
2024-09-18 05:04:29 +03:00
parent 6dfb881194
commit 039e029134

View File

@ -134,7 +134,7 @@
border-radius: var(--rounded-corner); border-radius: var(--rounded-corner);
background-color: var(--nav-bg); background-color: var(--nav-bg);
padding: 1rem; padding: 1rem;
width: min(calc(var(--container-width) / 3), 90vw); width: min(calc(var(--container-width) / 3), calc(90vw - 3rem));
max-height: 50vh; max-height: 50vh;
&-title { &-title {