We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f757e7 commit eb21df7Copy full SHA for eb21df7
apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte
@@ -81,7 +81,8 @@
81
@media (max-width: 1199px) {
82
margin: 4rem 0;
83
84
- &:not(:has(li:nth-child(2))) {
+ /* TODO remove :global once https://github.com/sveltejs/svelte/issues/13779 is fixed */
85
+ :global(&:not(:has(li:nth-child(2)))) {
86
/* hide widget if there are no subheadings */
87
display: none;
88
}
@@ -155,7 +156,8 @@
155
156
rotate: 90deg;
157
158
- & + nav {
159
160
+ :global(& + nav) {
161
display: block;
162
163
0 commit comments