Skip to content

Commit b271808

Browse files
max-nextcloudbackportbot[bot]
authored andcommitted
fix: only apply bullet style to ul > li
* Make list items in ordered lists still show numbers. * Use the same bullets on second and third level when first level is ol. Signed-off-by: Max <max@nextcloud.com>
1 parent 5dd3bcd commit b271808

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css/prosemirror.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,17 +168,17 @@ div.ProseMirror {
168168
margin-bottom: 1em;
169169
}
170170

171-
ul li {
171+
ul > li {
172172
list-style-type: disc;
173173
}
174174

175175
// Second-level list entries
176-
ul > li > ul > li {
176+
li ul > li {
177177
list-style-type: circle;
178178
}
179179

180180
// Third-level and further down list entries
181-
ul > li > ul > li ul li {
181+
li li ul > li {
182182
list-style-type: square;
183183
}
184184

0 commit comments

Comments
 (0)