Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1ページ目しか印刷されない問題を修正 #144

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion css/kunai/site/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ body {
}
}


nav[role="navigation"] {
display: flex;
// min-height: 3rem;
Expand Down Expand Up @@ -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;
}
}
}

12 changes: 12 additions & 0 deletions css/kunai/site/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,15 @@ nav[role="navigation"] {
}
}


@media print {
nav[role="navigation"] {
.navbar-brand {
> .title-wrapper {
&:before {
overflow: visible;
}
}
}
}
}
23 changes: 23 additions & 0 deletions css/kunai/site/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}
10 changes: 10 additions & 0 deletions css/kunai/site/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,13 @@
}
}

@media print {
@mixin tree $cl-border {
a {
overflow: visible;
}
ul {
overflow: visible;
}
}
}
Loading