I like to use a pattern of a CSS flex-box with whildren evenly spaced using the lobotomized owl selector.
My CSS looks like this:
.user-section {
display: flex;
}
.user-section > * + * {
margin-left: 4px;
}
Svelte compiles it into this:
.user-section.svelte-1aasoha {
display: flex
}
.user-section>*+.svelte-1aasoha {
margin-left: 4px
}
The right eye of the owl is replaced with the unique Svelte-generated selector id for the flexbox. I expected the unique id to be appended to the flexbox selector before the > part of the selector.
Is the id just naively appended to the end of the selector? Maybe a whitespace collapse is set to happen too early when handling this selector.
Svelte version: 3.5.3
I like to use a pattern of a CSS flex-box with whildren evenly spaced using the lobotomized owl selector.
My CSS looks like this:
Svelte compiles it into this:
The right eye of the owl is replaced with the unique Svelte-generated selector id for the flexbox. I expected the unique id to be appended to the flexbox selector before the
>part of the selector.Is the id just naively appended to the end of the selector? Maybe a whitespace collapse is set to happen too early when handling this selector.
Svelte version: 3.5.3