-
Notifications
You must be signed in to change notification settings - Fork 28
history: scrollbars #1536
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
history: scrollbars #1536
Conversation
✅ Deploy Preview for content-scope-scripts ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Temporary Branch UpdateThe temporary branch has been updated with the latest changes. Below are the details:
Please use the above install command to update to the latest version. |
[Beta] Generated file diffTime updated: Tue, 04 Mar 2025 09:00:35 GMT Integration
File has changed Windows
File has changed Apple
File has changed |
/** | ||
* macOS specific styling to handle dark mode - without this full | ||
* override you cannot change the track color :( | ||
*/ | ||
[data-platform="macos"] { | ||
.customScroller { | ||
--webkit-thumb-color: rgba(136, 136, 136, 0.8); | ||
|
||
&::-webkit-scrollbar { | ||
width: var(--scrollbar-width); | ||
} | ||
|
||
&::-webkit-scrollbar-track { | ||
background-color: var(--history-background-color) | ||
} | ||
|
||
&::-webkit-scrollbar-thumb { | ||
background-color: var(--webkit-thumb-color); | ||
border-radius: calc(var(--scrollbar-width) / 2); | ||
|
||
/** faking some padding on the thumb */ | ||
border: 4px solid var(--history-background-color); | ||
} | ||
|
||
&::-webkit-scrollbar-button { | ||
display: block; | ||
background-color: var(--history-background-color); | ||
|
||
/** a small vertical gap to prevent it touching boundaries */ | ||
height: 2px; | ||
} | ||
} | ||
} No newline at end of file | ||
} |
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.
Ideally, we wouldn't need this. But for now it gets the project over the line. The window example above is preferred.
.customScroller { | ||
overflow-y: scroll; | ||
scrollbar-gutter: stable; | ||
padding-right: calc(var(--main-padding-right) - var(--scrollbar-width)); |
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 helps the alignment of selected rows, ensuring they perfectly match the search bar in the header
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.
Asana Task/Github Issue: https://app.asana.com/0/0/1209565728475049/f
Description
Testing Steps
macOS
Windows
Checklist
Please tick all that apply: