Skip to content

Commit

Permalink
Fix checkbox not checkable on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Feb 19, 2021
1 parent 7d726fe commit 3e037b7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions assets/core.styl
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ resets(arr)
list-style-type: none
padding-left: LIST_STYLE_OUTER_WIDTH
position: relative
@supports (display: contents)
> .ql-ui
display: contents

> .ql-ui:before
display: inline-block
margin-left: -1*LIST_STYLE_OUTER_WIDTH
Expand All @@ -83,6 +81,12 @@ resets(arr)
white-space: nowrap
width: LIST_STYLE_WIDTH

@supports (display: contents)
li[data-list=bullet],
li[data-list=ordered]
> .ql-ui
display: contents

li[data-list=checked],
li[data-list=unchecked]
> .ql-ui
Expand Down

0 comments on commit 3e037b7

Please sign in to comment.