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 {
.addition {
display: flex !important;
flex-direction: column;
align-items: center;
justify-content: center;
img,
video {
width: fit-content;
height: 100%; height: 100%;
min-height: 70vh;
align-self: center; .addition {
height: 100%;
min-height: 70vh;
object-fit: contain; .plyr {
border-radius: 8px; height: 100%;
}
img,
video {
height: 100%;
object-fit: contain;
}
}
} }
} }
} }