Skip to content

Commit 2db31bb

Browse files
committed
make it work for .svelte files
1 parent cc7d5c6 commit 2db31bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/site-kit/src/lib/components/Text.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@
142142
}
143143
}
144144
145-
&:has(.ts-toggle:checked) [data-language='js'] {
145+
&:has(.ts-toggle:checked) pre:first-of-type {
146146
display: none;
147147
}
148148
149-
&:has(.ts-toggle:not(:checked)) [data-language='ts'] {
149+
&:has(.ts-toggle:not(:checked)) pre:last-of-type {
150150
display: none;
151151
}
152152

0 commit comments

Comments
 (0)