Skip to content

Commit 513f51e

Browse files
committed
Fix incorrect appearance of the ColorInput widget when set to "none" and "disabled"
1 parent c1ba710 commit 513f51e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/components/widgets/inputs/ColorInput.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
background-repeat: var(--color-transparent-checkered-background-repeat);
117117
}
118118
119-
&:not(.disabled).none > button {
119+
&.none > button {
120120
background: var(--color-none);
121121
background-repeat: var(--color-none-repeat);
122122
background-position: var(--color-none-position);
@@ -132,6 +132,7 @@
132132
left: 0;
133133
right: 0;
134134
background: var(--color-4-dimgray);
135+
opacity: 0.5;
135136
}
136137
137138
&:not(.disabled):hover > button .text-label,

0 commit comments

Comments
 (0)