Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 47 additions & 1 deletion src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2499,10 +2499,12 @@ body.live-news-fullscreen-active .panels-grid > *:not(.live-news-fullscreen) {
}
}

#live-news .panel-content {
.panel[data-panel="live-news"] .panel-content {
padding: 0;
flex: 1;
display: flex;
min-height: 0;
overflow: hidden;
}

.live-news-player {
Expand All @@ -2511,6 +2513,13 @@ body.live-news-fullscreen-active .panels-grid > *:not(.live-news-fullscreen) {
background: var(--bg);
aspect-ratio: 16 / 9;
overflow: hidden;
min-height: 0;
}

.live-news-player > * {
width: 100%;
height: 100%;
display: block;
}

.live-news-player iframe {
Expand Down Expand Up @@ -2733,6 +2742,43 @@ body.live-news-fullscreen-active .panels-grid > *:not(.live-news-fullscreen) {
}

@media (max-width: 768px) {
.panel[data-panel="live-news"] {
height: auto;
max-height: none;
min-height: 0;
}

.panel[data-panel="live-news"] .panel-content {
flex: 0 0 auto;
overflow: visible;
}

.panel[data-panel="live-news"] .live-news-player {
flex: 0 0 auto;
}

.panel[data-panel="live-news"] .live-news-switcher {
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
padding: 0 8px 8px;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}

.panel[data-panel="live-news"] .live-news-switcher::-webkit-scrollbar {
display: none;
}

.panel[data-panel="live-news"] .live-channel-btn {
flex: 0 0 auto;
}

.panel[data-panel="live-news"] .live-news-player .live-news-embed-frame {
transform: none;
height: 100% !important;
}

.webcam-grid {
grid-template-columns: 1fr;
grid-template-rows: auto;
Expand Down