1
0
Fork 0

44px is too small, especially when there's labels inside like GIF or video timestamp

This commit is contained in:
Lim Chee Aun 2023-09-07 11:59:40 +08:00
parent 67fb1a9b19
commit 6e4110714c

View file

@ -601,7 +601,7 @@
grid-auto-rows: 1fr;
gap: 2px;
/* height: 160px; */
min-height: 44px;
min-height: 88px;
height: auto;
max-height: max(160px, 33vh);
}
@ -645,9 +645,9 @@
.status .media-container.media-eq1 .media {
display: inline-block;
max-width: 100% !important;
min-width: 44px;
min-width: 88px;
/* width: auto; */
min-height: 44px;
min-height: 88px;
/* --maxAspectHeight: max(160px, 33vh);
--aspectWidth: calc(--width / --height * var(--maxAspectHeight)); */
width: min(var(--aspectWidth), var(--width), 100%);