mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-28 04:12:41 +03:00
Pushing the limits of my math
This commit is contained in:
parent
b0ed0be47d
commit
dc7083a11d
1 changed files with 2 additions and 2 deletions
|
@ -599,8 +599,8 @@
|
||||||
min-width: 44px;
|
min-width: 44px;
|
||||||
/* width: auto; */
|
/* width: auto; */
|
||||||
min-height: 44px;
|
min-height: 44px;
|
||||||
/* width: min(var(--width), 100%); */
|
--aspectWidth: calc(--width / --height * max(160px, 33vh));
|
||||||
width: min(fit-content, 100%);
|
width: min(var(--aspectWidth), var(--width), 100%);
|
||||||
max-height: min(var(--height), 33vh);
|
max-height: min(var(--height), 33vh);
|
||||||
}
|
}
|
||||||
.status .media-container.media-eq1 .media[data-orientation='portrait'] {
|
.status .media-container.media-eq1 .media[data-orientation='portrait'] {
|
||||||
|
|
Loading…
Reference in a new issue