Skip to content

Commit 11d0a0d

Browse files
committed
Set list-style-type: "- "; for ul items.
Use that instead of the `::before` pseudo-element. This way, the content of the list items is visually separated from the marker in multi-line scenarios.
1 parent e85747e commit 11d0a0d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sass/_base.scss

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,11 @@ ol {
153153
}
154154

155155
ul {
156-
padding-inline-start: 2ch;
157-
list-style: none;
156+
padding-inline-start: 4ch;
157+
list-style-type: "- ";
158158

159159
li {
160160
margin: 0;
161-
162-
&::before {
163-
content: "- ";
164-
}
165161
}
166162
}
167163

0 commit comments

Comments
 (0)