diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-29 21:36:43 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-12-02 10:39:20 +0300 |
commit | ffdf26ff3dcf4295b6f296881226b08afa90235d (patch) | |
tree | 6f1eb62960d5df5fc46d114a49dbb4ae5baa63f6 /css | |
parent | 10488dcbf791388a49adb0e0d9d42e8ed48c167d (diff) |
Implement checkbox support
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'css')
-rw-r--r-- | css/prosemirror.scss | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss index c16cfe929..cd6c6ea2d 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -24,6 +24,21 @@ div.ProseMirror { font-size: 14px; } + li label.checkbox-label { + width: 100%; + display: flex; + margin-top: 10px; + + &:before { + position: relative; + top: 2px; + } + div.checkbox-wrapper { + & > p { + margin-top: -1px; + } + } + } p:first-child, h1:first-child, h2:first-child, @@ -127,7 +142,8 @@ div.ProseMirror { } ul, ol { - padding-left: 14px; + padding-left: 10px; + margin-left: 10px; } ul li { |