We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46d32c0 commit 8421a6eCopy full SHA for 8421a6e
package.json
@@ -136,7 +136,7 @@
136
},
137
{
138
"path": "rgba-color-picker.js",
139
- "limit": "2.9 KB"
+ "limit": "2.95 KB"
140
141
142
"path": "rgba-string-color-picker.js",
src/lib/styles/color-picker.css
@@ -32,6 +32,8 @@
32
box-sizing: border-box;
33
width: 28px;
34
height: 28px;
35
+ display: flex;
36
+ place-content: center center;
37
transform: translate(-50%, -50%);
38
background-color: #fff;
39
border: 2px solid #fff;
@@ -40,13 +42,9 @@
40
42
}
41
43
44
[part$='pointer']::after {
- display: block;
45
content: '';
- position: absolute;
46
- left: 0;
47
- top: 0;
48
- right: 0;
49
- bottom: 0;
+ width: 100%;
+ height: 100%;
50
border-radius: inherit;
51
background-color: currentColor;
52
0 commit comments