mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #2258 from ZhenShuo2021/fix/mobile-toc-width
🐛 Fix: TOC is too narrow on mobile devices
This commit is contained in:
@@ -3415,7 +3415,9 @@ button, [role="button"] {
|
||||
margin-top: calc(var(--spacing) * 3);
|
||||
}
|
||||
#TableOfContents {
|
||||
max-width: 25vw;
|
||||
@media (width >= 1024px) {
|
||||
max-width: 25vw;
|
||||
}
|
||||
}
|
||||
#TOCView {
|
||||
max-height: calc(100vh - 150px);
|
||||
|
||||
@@ -65,7 +65,7 @@ button,
|
||||
|
||||
/* Table of Contents */
|
||||
#TableOfContents {
|
||||
max-width: 25vw;
|
||||
@apply lg:max-w-[25vw];
|
||||
}
|
||||
|
||||
#TOCView {
|
||||
|
||||
Reference in New Issue
Block a user