fix fullmode style height

This commit is contained in:
srgooglo 2022-10-11 13:45:06 +02:00
parent 11972ee2e7
commit 29d02f56ee
2 changed files with 17 additions and 22 deletions

View File

@ -19,6 +19,7 @@
width: 100%; width: 100%;
.carousel { .carousel {
background-color: black;
border-radius: 8px; border-radius: 8px;
} }
@ -79,8 +80,6 @@
max-height: 50vh; max-height: 50vh;
background-color: black;
// fixtures for media content // fixtures for media content
img { img {
width: 100%; width: 100%;
@ -108,10 +107,6 @@
user-select: none; user-select: none;
-webkit-user-drag: none; -webkit-user-drag: none;
} }
>div {
height: 100%;
}
} }
} }

View File

@ -101,25 +101,25 @@
height: 100%; height: 100%;
.post_additions { .post_additions {
height: fit-content; .carousel-root {
max-height: 80vh; .carousel {
height: 100%;
min-height: 70vh;
.addition { .addition {
display: flex !important; height: 100%;
flex-direction: column; min-height: 70vh;
align-items: center; .plyr {
justify-content: center; height: 100%;
}
img, img,
video { video {
width: fit-content;
height: 100%; height: 100%;
align-self: center;
object-fit: contain; object-fit: contain;
border-radius: 8px; }
}
} }
} }
} }