app-layout
app-layout copied to clipboard
@media print rule needed in app-header-layout?
when using browser's native print, position: fixed header inside app-header-layout shows up.. in its current position w/ regard to document scroll pos.
eg:
content
content
--------------
Hai toolbar
--------------
content
This rule added app-header-layout may be a good start..
@media print {
:host > ::content > app-header,
:host > ::content > [underlay-content] {
position: absolute;
}
}
Your content is in the light DOM, so you could do this:
@media print {
app-header,
[underlay-content] {
position: absolute;
}
}
@blasten thanks!