@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystal-ui/core",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Crystal design system: tokens, material primitives, headless core, icons and specifications.",
5
5
  "keywords": [],
6
6
  "type": "commonjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$description": "Crystal component catalogue, combined. Generated from core/tokens/catalogue/.",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "surfaces": [
5
5
  {
6
6
  "id": "plastic",