@crystal-ui/core 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/crystal.css +5 -0
- package/package.json +1 -1
- package/tokens/catalogue.json +1 -1
package/assets/crystal.css
CHANGED
|
@@ -160,6 +160,11 @@ dialog.cr-dialog{position:fixed}
|
|
|
160
160
|
gutter on one side alone would sit it off-centre. */
|
|
161
161
|
.cr-scroll,.cr-scroll-frost,.cr-scroll-resin{scrollbar-gutter:stable}
|
|
162
162
|
.cr-dialog{scrollbar-gutter:stable both-edges}
|
|
163
|
+
/* A dialog's code block scrolls down past 300px, and it had the contract's other
|
|
164
|
+
parts and not this one: on a desktop its text moved 10px when the scrollbar
|
|
165
|
+
arrived. Found by the scroll gate on a Pixel 6 Pro, which opened a dialog with
|
|
166
|
+
code in it for the first time (D-4); a phone's overlay scrollbar hid it. */
|
|
167
|
+
.cr-dialog pre{scrollbar-gutter:stable}
|
|
163
168
|
/* A horizontal-only scroller says so, because the stylesheet cannot tell. Setting
|
|
164
169
|
`overflow-x: auto` alone makes `overflow-y` compute to `auto` as well, so the
|
|
165
170
|
browser reserves the inline gutter for a vertical scrollbar that can never
|
package/package.json
CHANGED