added a page-break-inside avoid to media content

This commit is contained in:
manetta 2022-02-09 17:31:30 +01:00
parent a040c1bd76
commit e76482c6b9

View File

@ -262,13 +262,20 @@ div.page-header h1 + p::after {
button.icon-button.overlayed {
display: none;
}
a.media-gallery__item-thumbnail{
position: relative;
display: block;
}
a.media-gallery__item-thumbnail img {
position: relative;
display: block;
width: 100% !important;
height: auto;
max-height: 185mm !important;
width: 100% !important;
margin: 0 auto;
display: block;
object-position: 50% 0% !important;
break-inside: avoid !important;
page-break-inside: avoid !important;
}
/* media galleries */