Skip to content

Commit 92f23f5

Browse files
committed
add line-height
1 parent 02f0eb0 commit 92f23f5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

flexbox-reset.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ body {
165165
font-style: normal;
166166
font-variant: normal;
167167
font-weight: normal;
168+
line-height: 1;
168169
min-height: 100vh;
169170
}
170171
blockquote,

flexbox-reset.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ body {
5151
font-style: normal;
5252
font-variant: normal;
5353
font-weight: normal;
54+
line-height: 1;
5455
min-height: 100vh;
5556
}
5657

@@ -63,11 +64,12 @@ blockquote, q {
6364
}
6465
}
6566

67+
// remove outline on focus
6668
:focus {
6769
outline: 0;
6870
}
6971

70-
// corrects display issues for certain inputs on Edge and Chrome
72+
// corrects flexbox display issues for certain inputs on Edge and Chrome
7173
input[type=date],
7274
input[type=datetime-local],
7375
input[type=file],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flexbox-reset",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "A CSS reset that uses the flexbox model by default.",
55
"keywords": [
66
"css",

0 commit comments

Comments
 (0)