-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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: button for outline on small screens #9965
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #9965 +/- ##
==========================================
- Coverage 59.01% 58.62% -0.40%
==========================================
Files 241 240 -1
Lines 16968 17049 +81
Branches 1241 1240 -1
==========================================
- Hits 10014 9995 -19
- Misses 6909 7009 +100
Partials 45 45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ix/outline-mobile
className={`fixed block bottom-4 top-22 z-20 mx-auto max-w-5xl border border-light-900 rounded-md bg-white/75 shadow backdrop-blur-md transition-all duration-300 ${ | ||
opened ? 'left-4 right-4 ' : 'left-full -right-[calc(100vw_-_32px)]' | ||
} lg:sticky lg:block lg:h-full lg:max-w-xs lg:min-w-xs lg:w-full dark:border-dark-100 dark:bg-dark-600/75`} |
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.
This doesn't make any sense.
block
and lg:block
are both applied at the same time here basically, you also removed the hidden
class if its not opened.
Please describe the changes this PR makes and why it should be merged:
Adds button in header to expand table of contents on smaller screens.
Status and versioning classification: