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:
parent
182ff11d2b
commit
02763fb8d4
1 changed files with 6 additions and 3 deletions
|
@ -117,7 +117,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
max-inline-size: min(calc(100vh - 70px - 70px), 100vw);
|
max-inline-size: calc(100vh - 150px);
|
||||||
|
writing-mode: vertical-rl;
|
||||||
block-size: auto;
|
block-size: auto;
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
transition: box-shadow 1s;
|
transition: box-shadow 1s;
|
||||||
|
@ -133,7 +134,9 @@
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.loader {
|
@media (orientation: portrait) {
|
||||||
|
max-inline-size: 100vw;
|
||||||
|
writing-mode: horizontal-tb;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue