mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Restrict what default slot things <wa-page> adds spacing to, related to #331
This commit is contained in:
@@ -57,8 +57,12 @@ slot[name]:not([name='skip-to-content'], [name='navigation-toggle'])::slotted(*)
|
||||
padding: var(--wa-space-m) var(--wa-space-3xl);
|
||||
}
|
||||
|
||||
::slotted(:not([slot])) {
|
||||
padding: var(--wa-space-3xl);
|
||||
slot:not([name]) {
|
||||
/* See #331 */
|
||||
&::slotted(main),
|
||||
&::slotted(section) {
|
||||
padding: var(--wa-space-3xl);
|
||||
}
|
||||
}
|
||||
|
||||
::slotted([slot='main-footer']),
|
||||
|
||||
Reference in New Issue
Block a user