mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
Fix landmark selectors not working properly for Svelte
This commit is contained in:
parent
1039a4788d
commit
d1b91aeb92
1 changed files with 8 additions and 1 deletions
|
@ -27,7 +27,14 @@
|
|||
#{$parent-selector} #{$semantic-root-element} {
|
||||
> header,
|
||||
> 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
|
||||
@if $enable-semantic-container {
|
||||
$first-breakpoint: true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue