Skip to content

Commit 4a5fa5f

Browse files
paulchan14Paul PetersonLFDanLu
authored
fix(checkbox): removes + selector to solve grey flicker (#2662)
Co-authored-by: Paul Peterson <[email protected]> Co-authored-by: Daniel Lu <[email protected]>
1 parent a984616 commit 4a5fa5f

File tree

1 file changed

+1
-1
lines changed
  • packages/@adobe/spectrum-css-temp/components/checkbox

1 file changed

+1
-1
lines changed

packages/@adobe/spectrum-css-temp/components/checkbox/skin.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ governing permissions and limitations under the License.
3737

3838
/* Indeterminate is basically a checked state, so handle colors for checked state here */
3939
.spectrum-Checkbox.is-indeterminate .spectrum-Checkbox-box,
40-
.spectrum-Checkbox-input:checked + .spectrum-Checkbox-box {
40+
.spectrum-Checkbox.is-checked .spectrum-Checkbox-box {
4141
&:before {
4242
border-color: var(--spectrum-checkbox-emphasized-box-border-color-selected);
4343
}

0 commit comments

Comments
 (0)