Skip to content

Commit 9af6f2b

Browse files
committed
visual(pages): improve list styles
1 parent 3e85f78 commit 9af6f2b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apps/client/src/components/TextEditor.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ defineProps<Props>();
127127
128128
ul,
129129
ol {
130-
position: relative;
131-
132130
margin: 0;
133131
}
134132
@@ -169,19 +167,21 @@ defineProps<Props>();
169167
}
170168
}
171169
172-
ul ul::before,
173-
ul ol::before,
174-
ol ol::before,
175-
ol ul::before {
170+
li {
171+
position: relative;
172+
}
173+
li::after {
176174
position: absolute;
177175
178176
left: -9px;
179-
top: 0;
180-
bottom: 0;
177+
top: 24px;
178+
bottom: 4px;
181179
182180
content: '';
183181
184182
border-left: 1px solid rgba(255, 255, 255, 0.15);
183+
184+
overflow: hidden;
185185
}
186186
187187
// Inline code

0 commit comments

Comments
 (0)