Skip to content

Commit

Permalink
Merge pull request slab#3293 from quilljs/firefox-checkbox
Browse files Browse the repository at this point in the history
Fix checkbox not checkable on Firefox
  • Loading branch information
jhchen authored Feb 21, 2021
2 parents 7d726fe + 3e037b7 commit 1f0530a
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 1f0530a

Please sign in to comment.