Skip to content

Commit

Permalink
fix: remove explicit webkit file upload button selector
Browse files Browse the repository at this point in the history
  • Loading branch information
naiyerasif committed Apr 25, 2023
1 parent 5ff02f7 commit 95008de
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 235 deletions.
21 changes: 1 addition & 20 deletions dist/preset.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Preset v0.7.5 | MIT License | https://github.com/Microflash/preset */
/*! Preset v0.7.6 | MIT License | https://github.com/Microflash/preset */
:where(html) {
box-sizing: border-box;
-webkit-text-size-adjust: 100%;
Expand Down Expand Up @@ -81,14 +81,6 @@
word-spacing: inherit;
}

:where(input[type=file])::-webkit-file-upload-button {
color: inherit;
font: inherit;
font-size: inherit;
letter-spacing: inherit;
word-spacing: inherit;
}

:where(input[type=file])::file-selector-button {
color: inherit;
font: inherit;
Expand All @@ -115,9 +107,6 @@
:where(input[type=file]) {
cursor: auto;
}
:where(input[type=file])::-webkit-file-upload-button {
cursor: pointer;
}
:where(input[type=file])::file-selector-button {
cursor: pointer;
}
Expand All @@ -130,14 +119,6 @@
user-select: none;
}

:where(input[type=file])::-webkit-file-upload-button {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

:where(input[type=file])::file-selector-button {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
Expand Down
4 changes: 2 additions & 2 deletions dist/preset.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microflash/preset",
"version": "0.7.5",
"version": "0.7.6",
"description": "A modern CSS preset",
"keywords": [
"css",
Expand All @@ -27,9 +27,9 @@
},
"devDependencies": {
"csso-cli": "^4.0.2",
"postcss": "^8.4.21",
"postcss": "^8.4.23",
"postcss-cli": "^10.1.0",
"postcss-preset-env": "^8.3.1",
"postcss-preset-env": "^8.3.2",
"sass": "^1.62.0"
},
"browserslist": [
Expand Down
Loading

0 comments on commit 95008de

Please sign in to comment.