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

View File

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