Skip to content

Commit 37507e0

Browse files
committed
chore(playground): remove direct child selectors from markdown styles
The markdown plugin wrapper div makes content grandchildren of .markdown-body, breaking > selectors.
1 parent 1f2e2eb commit 37507e0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

apps/playground/src/App.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,27 @@
2121
scroll-margin-top: 5rem;
2222
}
2323
24-
> h1 {
24+
h1 {
2525
font-size: 2.25rem;
2626
line-height: 2.5rem;
2727
margin-bottom: 1rem;
2828
}
2929
30-
> h2 {
30+
h2 {
3131
font-size: 1.875rem;
3232
line-height: 2.25rem;
3333
margin-top: 2rem;
3434
margin-bottom: 0.75rem;
3535
}
3636
37-
> h3 {
37+
h3 {
3838
font-size: 1.5rem;
3939
line-height: 2rem;
4040
margin-top: 1.5rem;
4141
margin-bottom: 0.5rem;
4242
}
4343
44-
> :is(h1,h2,h3) + :is(h2,h3) {
44+
:is(h1,h2,h3) + :is(h2,h3) {
4545
margin-top: 0;
4646
}
4747
@@ -60,18 +60,18 @@
6060
margin-bottom: .5rem;
6161
}
6262
63-
> ul, > ol {
63+
ul, ol {
6464
list-style-type: disc;
6565
padding-left: 1.5rem;
6666
}
6767
68-
> ul:not(:last-child),
69-
> ol:not(:last-child) {
68+
ul:not(:last-child),
69+
ol:not(:last-child) {
7070
margin-bottom: 1rem;
7171
}
7272
73-
> ul > li:not(:last-child),
74-
> ol > li:not(:last-child) {
73+
ul > li:not(:last-child),
74+
ol > li:not(:last-child) {
7575
margin-bottom: 0.5rem;
7676
}
7777
@@ -85,7 +85,7 @@
8585
padding: 0.5rem 1rem;
8686
}
8787
88-
> .overflow-x-auto {
88+
.overflow-x-auto {
8989
margin-bottom: 1rem;
9090
}
9191

0 commit comments

Comments
 (0)