Skip to content

Commit

Permalink
fix(input): Avoid styling input with aria-disabled=false πŸ“
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorylegarec committed Apr 4, 2019
1 parent a6090f8 commit c261f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stylus/components/forms.styl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ $input-text
&:not(:focus):invalid
border rem(1) solid var(--pomegranate)

&[aria-disabled]
&[aria-disabled=true]
&[disabled]
@extend $input--disabled

Expand Down Expand Up @@ -346,7 +346,7 @@ $checkbox
background-image embedurl('../../assets/icons/ui/dash-white.svg')
background-size contain

&[aria-disabled]
&[aria-disabled=true]
span
opacity .5
cursor not-allowed
Expand Down

0 comments on commit c261f09

Please sign in to comment.