added a page-break-inside avoid to media content
This commit is contained in:
parent
a040c1bd76
commit
e76482c6b9
11
mastodon.css
11
mastodon.css
@ -262,13 +262,20 @@ div.page-header h1 + p::after {
|
|||||||
button.icon-button.overlayed {
|
button.icon-button.overlayed {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
a.media-gallery__item-thumbnail{
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
a.media-gallery__item-thumbnail img {
|
a.media-gallery__item-thumbnail img {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
width: 100% !important;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: 185mm !important;
|
max-height: 185mm !important;
|
||||||
width: 100% !important;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: block;
|
|
||||||
object-position: 50% 0% !important;
|
object-position: 50% 0% !important;
|
||||||
|
break-inside: avoid !important;
|
||||||
|
page-break-inside: avoid !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* media galleries */
|
/* media galleries */
|
||||||
|
Loading…
Reference in New Issue
Block a user