We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22a8f43 commit 577feb3Copy full SHA for 577feb3
components/input/theme.css
@@ -53,12 +53,17 @@
53
}
54
55
& ~ .hint {
56
+ display: block;
57
opacity: var(--input-hint-opacity);
58
59
60
& ~ .icon {
61
color: var(--input-text-highlight-color);
62
63
+
64
+ &.filled ~ .hint {
65
+ opacity: 0;
66
+ }
67
68
69
&:focus:not([disabled]):not([readonly]),
@@ -99,7 +104,7 @@
99
104
font-size: var(--input-field-font-size);
100
105
left: 0;
101
106
line-height: var(--input-field-font-size);
102
- opacity: 0;
107
+ opacity: var(--input-hint-opacity);
103
108
pointer-events: none;
109
position: absolute;
110
top: calc(var(--input-padding) + 1.5 * var(--input-field-padding));
0 commit comments