mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +03:00
It's time to double down on scale-down
This commit is contained in:
parent
0d090eb555
commit
67fb1a9b19
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue