Skip to content

Commit

Permalink
print stylesheet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vindeolal committed Jun 10, 2021
1 parent 79ac144 commit 75217fa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions article/static/article/css/article.less
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,16 @@
}
}

.image-block.full-width-image-block {
margin: 0!important;
.image img {
page-break-before: always;
page-break-after: always;
page-break-inside: avoid;
max-height: 350px!important;
}
}

div[class*="image"] {
page-break-before: auto;
page-break-after: auto;
Expand Down

0 comments on commit 75217fa

Please sign in to comment.