Skip to content

Commit

Permalink
fixed DIN A4 printing issue #52
Browse files Browse the repository at this point in the history
  • Loading branch information
mzsilak committed Aug 27, 2024
1 parent 412c9b0 commit c1063b9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
23 changes: 15 additions & 8 deletions css/prettyscribe.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ label {
display: flex;
justify-content: space-between;
}

.hide_enabled .hidden {
display: none;
}

a, a:visited {
color: black;
text-decoration: none;
}
}

@page {
/* fix for printing on DIN A4 */
margin: 7mm;
}

.aos_unit {
Expand Down Expand Up @@ -492,7 +506,7 @@ body:not(.single_column) .wh40k_unit_sheet > table > * > * > td.subTableTd > div
}
*/
.mesbg_flex {
display: flex;
display: flex;
align-items: center;
}
.mesbg_flexBetween {
Expand Down Expand Up @@ -578,13 +592,6 @@ body:not(.single_column) .wh40k_unit_sheet > table > * > * > td.subTableTd > div
text-decoration: line-through;
}

@media print {
.hide_enabled .hidden {
display: none;
}
a, a:visited { color: black; text-decoration: none; }
}

.page_break {
break-before: page;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/prettyscribe.js

Large diffs are not rendered by default.

0 comments on commit c1063b9

Please sign in to comment.