fix(ui): collapse empty page header slots
This commit is contained in:
@@ -576,6 +576,14 @@ current: true
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Compiled empty slots retain inert template markers, so :empty alone
|
||||
cannot collapse their spacing in the rendered document. */
|
||||
.wrn-page-header__meta:not(:has(> :not(template))),
|
||||
.wrn-page-header__body:not(:has(> :not(template))),
|
||||
.wrn-page-header__actions--slot-only:not(:has(> :not(template))) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wrn-page-header__meta {
|
||||
margin-top: 1.1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user