Skip to content

Commit 722be43

Browse files
committed
Remove no-longer-needed :global
1 parent 9aa90c4 commit 722be43

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apps/svelte.dev/src/routes/docs/[topic]/[...path]/OnThisPage.svelte

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@
8989
@media (max-width: 1199px) {
9090
margin: 4rem 0;
9191
92-
/* TODO remove :global once https://github.com/sveltejs/svelte/issues/13779 is fixed */
93-
:global(&:not(:has(li:nth-child(2)))) {
92+
&:not(:has(li:nth-child(2))) {
9493
/* hide widget if there are no subheadings */
9594
display: none;
9695
}
@@ -165,8 +164,7 @@
165164
rotate: 90deg;
166165
}
167166
168-
/* TODO remove :global once https://github.com/sveltejs/svelte/issues/13779 is fixed */
169-
:global(& + nav) {
167+
& + nav {
170168
display: block;
171169
}
172170
}

0 commit comments

Comments
 (0)