UX: Hide TOC on mobile docs topics (#32)

This commit is contained in:
Penar Musaraj 2022-02-28 18:11:17 +01:00 committed by GitHub
parent 993303199b
commit 098d05f3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -237,4 +237,7 @@ a.d-toc-close {
position: sticky;
top: calc(var(--header-offset, 60px) + 1em);
max-height: calc(100vh - 2em - var(--header-offset, 60px));
.mobile-view & {
display: none;
}
}