-
Notifications
You must be signed in to change notification settings - Fork 297
fix(dev hub): ui fixes #3050
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(dev hub): ui fixes #3050
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
<AppShellRoot | ||
enableAccessibilityReporting={enableAccessibilityReporting} | ||
amplitudeApiKey={amplitudeApiKey} | ||
googleAnalyticsId={googleAnalyticsId} | ||
providers={providers} | ||
> | ||
<AppBody {...props} /> | ||
</AppShellRoot> |
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.
Split the AppShell into 2 components so we can have the fumadocs provider after <body>
but before the App Shell header
} | ||
|
||
.prose p + ul, | ||
.prose p + ol { |
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 reduces list paddings
also there's no cleaner way to change the default styles other than globally styling cc #3031 (comment)
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.
:(
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.
Maybe add a comment around all this to explain why we're using global styles? The thing to avoid is some dev coming along, seeing this, and thinking it's OK to use global styles
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.
Maybe even move this stuff to a separate file and import it, something like fumadocs-global-styles-override.scss
with a big scary comment at the top
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.
very nice @alexcambose , thanks
} | ||
|
||
.prose p + ul, | ||
.prose p + ol { |
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.
:(
} | ||
|
||
.prose p + ul, | ||
.prose p + ol { |
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.
Maybe add a comment around all this to explain why we're using global styles? The thing to avoid is some dev coming along, seeing this, and thinking it's OK to use global styles
} | ||
|
||
.prose p + ul, | ||
.prose p + ol { |
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.
Maybe even move this stuff to a separate file and import it, something like fumadocs-global-styles-override.scss
with a big scary comment at the top
Summary
Rationale
How has this been tested?