opui-css 2.2.2 → 2.2.3

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/dist/op+ui.css CHANGED
@@ -95,7 +95,9 @@ Ideally it's the root/entry CSS file in your project.
95
95
  *,
96
96
  ::before,
97
97
  ::after {
98
- box-sizing: inherit;
98
+ /* Set box sizing instead of inheriting */
99
+ /* https://www.oddbird.net/2025/09/04/box-model/ */
100
+ box-sizing: border-box;
99
101
  }
100
102
 
101
103
  * {
@@ -108,7 +110,6 @@ Ideally it's the root/entry CSS file in your project.
108
110
  accent-color: var(--primary);
109
111
  background-color: var(--_page-bg-color);
110
112
  block-size: 100%;
111
- box-sizing: border-box;
112
113
  caret-color: var(--primary);
113
114
  color: var(--text-color-2);
114
115
  font-family: var(--font-sans);
package/dist/ui.css CHANGED
@@ -6,7 +6,9 @@
6
6
  *,
7
7
  ::before,
8
8
  ::after {
9
- box-sizing: inherit;
9
+ /* Set box sizing instead of inheriting */
10
+ /* https://www.oddbird.net/2025/09/04/box-model/ */
11
+ box-sizing: border-box;
10
12
  }
11
13
 
12
14
  * {
@@ -19,7 +21,6 @@
19
21
  accent-color: var(--primary);
20
22
  background-color: var(--_page-bg-color);
21
23
  block-size: 100%;
22
- box-sizing: border-box;
23
24
  caret-color: var(--primary);
24
25
  color: var(--text-color-2);
25
26
  font-family: var(--font-sans);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opui-css",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "files": [
@@ -2,7 +2,9 @@
2
2
  *,
3
3
  ::before,
4
4
  ::after {
5
- box-sizing: inherit;
5
+ /* Set box sizing instead of inheriting */
6
+ /* https://www.oddbird.net/2025/09/04/box-model/ */
7
+ box-sizing: border-box;
6
8
  }
7
9
 
8
10
  * {
@@ -15,7 +17,6 @@
15
17
  accent-color: var(--primary);
16
18
  background-color: var(--_page-bg-color);
17
19
  block-size: 100%;
18
- box-sizing: border-box;
19
20
  caret-color: var(--primary);
20
21
  color: var(--text-color-2);
21
22
  font-family: var(--font-sans);