We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1c13b3 + deb71de commit 85ed8aeCopy full SHA for 85ed8ae
1 file changed
packages/core/src/styles/reset.css
@@ -21,8 +21,10 @@
21
22
/* Document defaults */
23
html {
24
- /* Prevent font size inflation on iOS */
25
- -webkit-text-size-adjust: 100%;
+ /* Prevent font size inflation on mobile browsers */
+ -webkit-text-size-adjust: none;
26
+ -moz-text-size-adjust: none;
27
+ text-size-adjust: none;
28
/* Smooth scrolling */
29
scroll-behavior: smooth;
30
}
@@ -96,10 +98,19 @@ h6 {
96
98
overflow-wrap: break-word;
97
99
100
-/* List styles */
-ul,
101
-ol {
102
- list-style: none;
+/* Prevent orphaned words on the last line of headings */
+h1,
103
+h2,
104
+h3,
105
+h4,
106
+h5,
107
+h6 {
108
+ text-wrap: balance;
109
+}
110
+
111
+/* Scroll margin for anchor links — prevents heading from touching the top edge */
112
+:target {
113
+ scroll-margin-block: 5ex;
114
115
116
/* Link styles */
0 commit comments