-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix TOC
on Desktop & Mobile
#1129
base: main
Are you sure you want to change the base?
Conversation
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-11-12 07:21:35 CET |
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-08-05 10:53:03 CET |
<main class="web-grid-120-1fr-auto-main /web-is-mobile-closed" id="main"> | ||
<div class="web-content"> | ||
<div class="web-content" class:web-is-mobile-closed={showToc && !showToc}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{showToc && !showToc}
should always evaluate false right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might not even need this class here. This PR still requires further fixes anyways.
What does this PR do?
As per the discussions, TOC should not show on desktops. Also fixes broken on mobile.
Test Plan
Manual.
Related PRs and Issues
N/A.
Have you read the Contributing Guidelines on issues?
Yes.