@cosxai/ui 0.2.8 → 0.2.9
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/package.json +1 -1
- package/src/styles/base.css +13 -0
package/package.json
CHANGED
package/src/styles/base.css
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
this file being loaded, but consumers should import it to get
|
|
5
5
|
the cross-fade theme transitions and reduced-motion handling. */
|
|
6
6
|
|
|
7
|
+
/* Inheritance-friendly box-sizing — modern reset best practice.
|
|
8
|
+
Without it, `min-height: 100vh` + padding silently extends the
|
|
9
|
+
element BEYOND the viewport (default `content-box` makes padding
|
|
10
|
+
stack ON TOP of the declared min-height), introducing a sneaky
|
|
11
|
+
scroll on any consumer page that combines those two properties.
|
|
12
|
+
Every modern reset (Eric Meyer 2014, Tailwind preflight,
|
|
13
|
+
Bootstrap, modern-normalize) ships this — @cosxai/ui matches. */
|
|
14
|
+
*,
|
|
15
|
+
*::before,
|
|
16
|
+
*::after {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
7
20
|
html,
|
|
8
21
|
body {
|
|
9
22
|
background: var(--ck-bg-canvas);
|