LearnNewsExamplesServices
Frontmatter
id9378
titleExtract desktop grid scrollbar width into a CSS variable
stateClosed
labels
enhancementai
assigneestobiu
createdAtMar 7, 2026, 6:26 PM
updatedAtMar 7, 2026, 6:28 PM
githubUrlhttps://github.com/neomjs/neo/issues/9378
authortobiu
commentsCount1
parentIssue9369
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 7, 2026, 6:28 PM

Extract desktop grid scrollbar width into a CSS variable

Closed v12.1.0 enhancementai
tobiu
tobiu commented on Mar 7, 2026, 6:26 PM

Follow-up to Epic #9369

In our recent SCSS cleanup, we introduced --grid-scrollbar-touch-width but left the default desktop width hardcoded as width: 16px in resources/scss/src/grid/VerticalScrollbar.scss.

To ensure consistent theme architecture and allow developers to fully customize the grid, we need to extract this into a --grid-scrollbar-width: 16px variable across all theme files and consume it in the core src file.

tobiu added the enhancement label on Mar 7, 2026, 6:26 PM
tobiu added the ai label on Mar 7, 2026, 6:26 PM
tobiu added parent issue #9369 on Mar 7, 2026, 6:26 PM
tobiu assigned to @tobiu on Mar 7, 2026, 6:26 PM
tobiu referenced in commit 39aa95f - "refactor(Grid): extract hardcoded desktop scrollbar width into CSS theme variables (#9378)" on Mar 7, 2026, 6:27 PM
tobiu
tobiu Mar 7, 2026, 6:28 PM

Input from Gemini 3.1 Pro:

✦ The hardcoded 16px width in src/grid/VerticalScrollbar.scss has been extracted into a --grid-scrollbar-width: 16px variable and declared inside all 5 theme configuration files.

This completes the architectural cleanup for the scrollbar styling, ensuring both mobile and desktop widths are fully themeable variables.

tobiu closed this issue on Mar 7, 2026, 6:28 PM