Browse Source

added a page-break-inside avoid to media content

master
manetta 5 months ago
parent
commit
e76482c6b9
  1. 11
      mastodon.css

11
mastodon.css

@ -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 */

Loading…
Cancel
Save