Skip to content

Commit ed1f5c8

Browse files
fix: css reset (#17)
1 parent c85afdd commit ed1f5c8

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": false,
33
"name": "@outdoormap/frontend-utils",
44
"description": "Outdoormap > Front End Utilities",
5-
"version": "0.2.0",
5+
"version": "0.2.1",
66
"author": "OutdoorMap <support@outdoormap.com>",
77
"license": "MIT",
88
"main": "index.js",

scss/reset.scss

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*::after {
2020
box-sizing: border-box;
2121

22-
// font smoothing
22+
// font smoothing (https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth)
2323
-webkit-font-smoothing: antialiased;
2424
-moz-osx-font-smoothing: grayscale;
2525
}
@@ -31,9 +31,6 @@ html {
3131
background-color: #fff;
3232
text-size-adjust: 100%;
3333

34-
// ms scrollbar
35-
-ms-overflow-style: -ms-autohiding-scrollbar;
36-
3734
// killing 300ms touch delay
3835
touch-action: manipulation;
3936
}
@@ -94,7 +91,6 @@ input,
9491
textarea,
9592
select {
9693
appearance: none;
97-
appearance: textfield;
9894
}
9995

10096
input {
@@ -109,24 +105,13 @@ input {
109105
margin: 0;
110106
}
111107

112-
&::-ms-reveal {
113-
display: none;
114-
}
115-
116-
&::-ms-clear {
117-
display: none;
118-
}
119-
120108
&::placeholder {
121109
opacity: 1;
110+
color: currentcolor;
122111
}
123112
}
124113

125114
select {
126-
&::-ms-expand {
127-
display: none;
128-
}
129-
130115
&:-moz-focusring {
131116
text-shadow: 0 0 0 #000;
132117
color: transparent;

0 commit comments

Comments
 (0)