fix(site): use native thin scrollbar style for admin bar#21825
Merged
fix(site): use native thin scrollbar style for admin bar#21825
Conversation
The bottom admin bar (DeploymentBannerView) was showing a thick scrollbar when content overflowed horizontally. Added [scrollbar-width:thin] CSS property to use the native thin scrollbar style instead. Co-authored-by: kyle <[email protected]>
|
I have read the CLA Document and I hereby sign the CLA Cursor Agent seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The bottom admin bar (DeploymentBannerView) was showing a thick scrollbar when content overflowed horizontally. This change applies the native thin scrollbar style instead.
Changes
[scrollbar-width:thin]Tailwind CSS arbitrary value to the deployment banner containerThis uses the native CSS
scrollbar-width: thinproperty which is supported in modern browsers (Firefox, Chrome, Edge, Safari) and provides a less obtrusive scrollbar when horizontal scrolling is needed.Testing
Note
Low Risk
Purely a CSS styling tweak with no behavioral, data, or security impact; risk is limited to minor cross-browser appearance differences.
Overview
Updates the dashboard
DeploymentBannerViewbottom admin bar styling to use the native CSSscrollbar-width: thinvia Tailwind ([scrollbar-width:thin]), reducing scrollbar thickness when the banner overflows horizontally.Written by Cursor Bugbot for commit ba36e48. This will update automatically on new commits. Configure here.