Deep Research: no empty scrollbar strip at a desktop's right edge
The site keeps room for a scrollbar on every page (scrollbar-gutter: stable in base/_globals.scss). This page never scrolls, so on a desktop with classic scrollbars that room showed as an empty 15px strip at the right edge (measured at 1440: the bar and the gallery were 1425 wide). The page sets scrollbar-gutter: auto on <html> while it is shown, keyed to its own element like its other page-level rules; every other page keeps the site's rule.
This commit is contained in:
parent
818fb6ca4a
commit
79d83ebe26
1 changed files with 5 additions and 0 deletions
|
|
@ -195,4 +195,9 @@ html:has(.research-gallery-page) body {
|
|||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
/* The site keeps room for a scrollbar on every page (scrollbar-gutter: stable, base/_globals.scss).
|
||||
This page never scrolls, so on a desktop that room would only be an empty strip at the right edge. */
|
||||
html:has(.research-gallery-page) {
|
||||
scrollbar-gutter: auto;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue