@unocss/reset 0.58.3 → 0.58.4

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.
Files changed (2) hide show
  1. package/normalize.css +4 -11
  2. package/package.json +2 -2
package/normalize.css CHANGED
@@ -3,10 +3,13 @@
3
3
 
4
4
  /**
5
5
  * 1. Correct the line height in all browsers.
6
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
6
7
  */
7
8
 
8
9
  :where(html) {
9
10
  line-height: 1.15; /* 1 */
11
+ -webkit-text-size-adjust: 100%; /* 2 */
12
+ text-size-adjust: 100%; /* 2 */
10
13
  }
11
14
 
12
15
  /* Sections
@@ -46,16 +49,6 @@
46
49
  height: 0; /* 1 */
47
50
  }
48
51
 
49
- /**
50
- * 1. Correct the inheritance and scaling of font size in all browsers.
51
- * 2. Correct the odd `em` font sizing in all browsers.
52
- */
53
-
54
- :where(pre) {
55
- font-family: monospace, monospace; /* 1 */
56
- font-size: 1em; /* 2 */
57
- }
58
-
59
52
  /* Text-level semantics
60
53
  * ========================================================================== */
61
54
 
@@ -81,7 +74,7 @@
81
74
  * 2. Correct the odd `em` font sizing in all browsers.
82
75
  */
83
76
 
84
- :where(code, kbd, samp) {
77
+ :where(code, kbd, pre, samp) {
85
78
  font-family: monospace, monospace; /* 1 */
86
79
  font-size: 1em; /* 2 */
87
80
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/reset",
3
3
  "type": "module",
4
- "version": "0.58.3",
4
+ "version": "0.58.4",
5
5
  "description": "Collection of CSS resetting",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "**/*.css"
23
23
  ],
24
24
  "devDependencies": {
25
- "@csstools/normalize.css": "^12.0.0",
25
+ "@csstools/normalize.css": "^12.1.1",
26
26
  "sanitize.css": "^13.0.0"
27
27
  },
28
28
  "scripts": {