This commit is contained in:
hfcRed 2025-03-27 18:06:08 +01:00 committed by GitHub
commit c9f707ce0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,14 @@
#{$parent-selector} #{$semantic-root-element} { #{$parent-selector} #{$semantic-root-element} {
> header, > header,
> main, > main,
> footer { > footer,
> div[style="display: contents"] > header,
> div[style="display: contents"] > main,
> div[style="display: contents"] > footer {
// Target "display: contents" to support Svelte forcing a wrapping div
// - https: //github.com/sveltejs/kit/discussions/7585
//
// <header>, <main>, <footer> as containers // <header>, <main>, <footer> as containers
@if $enable-semantic-container { @if $enable-semantic-container {
$first-breakpoint: true; $first-breakpoint: true;