Skip to content

Commit 14c7fcf

Browse files
WestbrookGarthDB
authored andcommitted
fix: use opacity: 0 and appearance: none of form elements
1 parent f5db359 commit 14c7fcf

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

components/colorarea/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%spectrum-ColorControl-hiddenField {
2-
opacity: 0.0001;
2+
opacity: 0;
33
position: absolute;
44
top: 0; left: 0;
55
width: 100%; height: 100%;

components/colorslider/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
%spectrum-ColorControl-hiddenField {
21-
opacity: 0.0001;
21+
opacity: 0;
2222
position: absolute;
2323
top: 0;
2424
left: 0;

components/colorwheel/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/** index.css (scale dependent) */
1919

2020
%spectrum-ColorControl-hiddenField {
21-
opacity: 0.0001;
21+
opacity: 0;
2222
position: absolute;
2323
top: 0; left: 0;
2424
width: 100%; height: 100%;

components/radio/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ governing permissions and limitations under the License.
7676
inline-size: 100%;
7777
block-size: 100%;
7878

79-
opacity: 0.0001;
79+
opacity: 0;
8080
z-index: 1;
8181

8282
cursor: pointer;

components/rating/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ governing permissions and limitations under the License.
6666
inline-size: 100%;
6767
block-size: 100%;
6868
margin: 0;
69-
opacity: 0.0001;
69+
opacity: 0;
7070
pointer-events: none;
7171
}
7272

components/switch/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ governing permissions and limitations under the License.
5959
block-size: 100%;
6060
inset-block-start: 0;
6161
inset-inline-start: 0;
62-
opacity: 0.0001;
62+
opacity: 0;
6363
z-index: 1;
6464

6565
cursor: pointer;

0 commit comments

Comments
 (0)