It's time to double down on scale-down

This commit is contained in:
Lim Chee Aun 2023-09-07 11:58:17 +08:00
parent 0d090eb555
commit 67fb1a9b19
2 changed files with 5 additions and 5 deletions

View file

@ -335,7 +335,7 @@
#compose-container .media-preview > * {
width: 80px;
height: 80px;
object-fit: contain;
object-fit: scale-down;
vertical-align: middle;
pointer-events: none;
}
@ -516,7 +516,7 @@
width: 100%;
height: 100%;
max-height: 50vh;
object-fit: contain;
object-fit: scale-down;
vertical-align: middle;
}

View file

@ -769,7 +769,7 @@ body:has(#modal-container .carousel) .status .media img:hover {
.status .media video {
width: 100%;
height: 100%;
object-fit: contain;
object-fit: scale-down;
/* border-radius: calc(var(--media-radius) - var(--media-border-width)); */
border-radius: inherit;
}
@ -842,7 +842,7 @@ body:has(#modal-container .carousel) .status .media img:hover {
width: fit-content;
}
.status .media-contain video {
object-fit: contain !important;
object-fit: scale-down !important;
}
/* .status .media-audio {
border: 0;
@ -1395,7 +1395,7 @@ a.card:is(:hover, :focus) {
width: 1.2em;
height: 1.2em;
vertical-align: text-bottom;
object-fit: contain;
object-fit: scale-down;
}
/* EDIT HISTORY */