Attempt to fix plane photoviewer.

This commit is contained in:
Noenandre
2023-03-06 13:29:44 +01:00
parent c824fe1937
commit fcbdee0aed
2 changed files with 22 additions and 14 deletions
+10 -5
View File
@@ -68,8 +68,7 @@
}
.photo-wrapper,
.photo-wrapper img {
.photo-wrapper {
width: 100%;
height: 100%;
overflow: hidden;
@@ -361,12 +360,18 @@ label.streetside-hires {
}
.plane-frame {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
height: 100%;
width: 100%;
}
.plane-frame > .plane-photo{
transform-origin:0 0;
.plane-frame > img.plane-photo{
width: min-content;
height: 100%;
transform-origin: 0 0;
}
.vegbilder-wrapper {