diff --git a/css/kunai/site/layout.css b/css/kunai/site/layout.css index 59f64ff..5b67bf9 100644 --- a/css/kunai/site/layout.css +++ b/css/kunai/site/layout.css @@ -38,7 +38,6 @@ body { } } - nav[role="navigation"] { display: flex; // min-height: 3rem; @@ -322,3 +321,18 @@ main { } } +@media print { + body { + overflow: visible; + } + + main { + overflow: visible; + + div[itemtype="http://schema.org/Article"], + div[itemtype="http://schema.org/Article"] + div { + overflow: visible; + } + } +} + diff --git a/css/kunai/site/navbar.css b/css/kunai/site/navbar.css index 2e2f413..b32308d 100644 --- a/css/kunai/site/navbar.css +++ b/css/kunai/site/navbar.css @@ -106,3 +106,15 @@ nav[role="navigation"] { } } + +@media print { + nav[role="navigation"] { + .navbar-brand { + > .title-wrapper { + &:before { + overflow: visible; + } + } + } + } +} diff --git a/css/kunai/site/sidebar.css b/css/kunai/site/sidebar.css index fa881b8..2c139a2 100644 --- a/css/kunai/site/sidebar.css +++ b/css/kunai/site/sidebar.css @@ -775,3 +775,26 @@ main[role="main"] .kunai-sidebar.force-legacy { } } +@media print { + .kunai-sidebar > .tree.v2 { + overflow: visible; + + ul.stackable { + > li.stack { + &.expanded:not(.empty) { + overflow: visible; + } + } + } + + > ul.root { + overflow: visible; + } + + ul.members { + > li.member { + overflow: visible; + } + } + } +} diff --git a/css/kunai/site/tree.css b/css/kunai/site/tree.css index ab4d8ec..1f6e76d 100644 --- a/css/kunai/site/tree.css +++ b/css/kunai/site/tree.css @@ -187,3 +187,13 @@ } } +@media print { + @mixin tree $cl-border { + a { + overflow: visible; + } + ul { + overflow: visible; + } + } +}