Skip to content

Commit dbc1fe0

Browse files
committed
Remove an unused rule, add another
1 parent ec2b086 commit dbc1fe0

4 files changed

Lines changed: 61 additions & 77 deletions

File tree

dist/four-point-seven/styles/default.css

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
/**
77
* Add the correct display in Edge, IE 11, and Firefox.
88
*/
9-
details {
9+
details,
10+
main {
1011
display: block;
1112
}
1213

@@ -906,21 +907,6 @@ nav ol::after,
906907
outline: 1px solid transparent;
907908
}
908909
/**
909-
* Fix vertical alignment of `color` fields with their label.
910-
*/
911-
[type="color"] {
912-
vertical-align: middle;
913-
}
914-
/**
915-
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
916-
* `font-size` values of the `input`, it causes the cursor style of the
917-
* decrement button to change from `default` to `text`.
918-
*/
919-
[type="number"]::-webkit-inner-spin-button,
920-
[type="number"]::-webkit-outer-spin-button {
921-
height: auto;
922-
}
923-
/**
924910
* 1. Remove any excess padding.
925911
* 2. Correct margins for inline checkbox/radio labels.
926912
*/
@@ -940,6 +926,13 @@ nav ol::after,
940926
margin: 0;
941927
}
942928
/**
929+
* Correct the cursor style of increment and decrement buttons in Safari.
930+
*/
931+
[type="number"]::-webkit-inner-spin-button,
932+
[type="number"]::-webkit-outer-spin-button {
933+
height: auto;
934+
}
935+
/**
943936
* Use indicator icon to signify the drop-down ability of `select`.
944937
*/
945938
select {

package-lock.json

Lines changed: 41 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/modules/_base.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* Add the correct display in Edge, IE 11, and Firefox.
66
*/
77

8-
details {
8+
details,
9+
main {
910
display: block;
1011
}
1112

src/scss/modules/_forms.scss

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -126,25 +126,6 @@ textarea {
126126
}
127127
}
128128

129-
/**
130-
* Fix vertical alignment of `color` fields with their label.
131-
*/
132-
133-
[type="color"] {
134-
vertical-align: middle;
135-
}
136-
137-
/**
138-
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
139-
* `font-size` values of the `input`, it causes the cursor style of the
140-
* decrement button to change from `default` to `text`.
141-
*/
142-
143-
[type="number"]::-webkit-inner-spin-button,
144-
[type="number"]::-webkit-outer-spin-button {
145-
height: auto;
146-
}
147-
148129
/**
149130
* 1. Remove any excess padding.
150131
* 2. Correct margins for inline checkbox/radio labels.
@@ -166,6 +147,15 @@ textarea {
166147
}
167148
}
168149

150+
/**
151+
* Correct the cursor style of increment and decrement buttons in Safari.
152+
*/
153+
154+
[type="number"]::-webkit-inner-spin-button,
155+
[type="number"]::-webkit-outer-spin-button {
156+
height: auto;
157+
}
158+
169159
/**
170160
* Use indicator icon to signify the drop-down ability of `select`.
171161
*/

0 commit comments

Comments
 (0)