mirror of
https://github.com/codex-team/editor.js
synced 2024-06-22 23:46:37 +02:00
list plugin improved: Workaround situations when users has own ul, li, ol
style-types clearings
This commit is contained in:
parent
9e32f5a47d
commit
1017a603b6
|
@ -4,7 +4,15 @@
|
|||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
.cdx-plugin-list__li{
|
||||
ul.cdx-plugin-list {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
ol.cdx-plugin-list {
|
||||
list-style-type: initial;
|
||||
}
|
||||
|
||||
.cdx-plugin-list__li {
|
||||
display: list-item;
|
||||
background: #fff;
|
||||
border: 1px solid #ebeef3;
|
||||
|
@ -12,6 +20,7 @@
|
|||
margin: .5em;
|
||||
padding: .5em;
|
||||
list-style-position: outside;
|
||||
list-style-type: inherit;
|
||||
margin-left: 1.1em;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue