1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed aspect ratio calculation for lab nodes

This commit is contained in:
Fedor Katurov 2022-12-07 16:33:39 +06:00
parent 182ff11d2b
commit 02763fb8d4

View file

@ -117,7 +117,8 @@
}
.image {
max-inline-size: min(calc(100vh - 70px - 70px), 100vw);
max-inline-size: calc(100vh - 150px);
writing-mode: vertical-rl;
block-size: auto;
border-radius: $radius;
transition: box-shadow 1s;
@ -133,7 +134,9 @@
max-height: 100vh;
border-radius: 0;
}
}
.loader {
@media (orientation: portrait) {
max-inline-size: 100vw;
writing-mode: horizontal-tb;
}
}