style(portals): youtube trailer view fix

This commit is contained in:
4gray committed 2024-04-07 22:08:40 +02:00
1 parent 21538b0671
commit b3f1094924
3 files changed
+24 -4

No files matched your search

+8 -2
View File
@@ -1,5 +1,7 @@
:host {
width: 100%;
display: flex;
flex-direction: column;
}
.details {
@@ -87,6 +89,10 @@
.details {
padding: 0 10px;
}
.youtube-trailer {
width: 95% !important;
}
}
.label {
@@ -103,7 +109,7 @@
.youtube-trailer {
display: flex;
flex-direction: column;
align-content: center;
flex-wrap: wrap;
align-self: center;
width: 650px;
}
@@ -88,8 +88,8 @@
<div class="youtube-trailer" *ngIf="item.info.youtube_trailer">
<h3>YouTube Trailer</h3>
<iframe
width="560"
height="315"
width="100%"
height="450"
[src]="
'https://www.youtube.com/embed/' + item.info?.youtube_trailer | safe
"
+14
View File
@@ -81,6 +81,10 @@ textarea,
height: calc(100vh - 82px) !important;
}
app-web-player-view > app-vjs-player > .video-js {
height: 100% !important;
}
#video-player {
width: 100%;
height: calc(100vh - 80px) !important;
@@ -98,6 +102,16 @@ textarea,
.scroll-viewport {
min-height: calc(100vh - 210px) !important;
}
.scroll-viewport-portals {
min-height: calc(100vh - 160px) !important;
overflow-x: hidden !important;
}
}
.scroll-viewport-portals {
min-height: calc(100vh - 160px) !important;
overflow-x: hidden !important;
}
.mat-drawer-inner-container {