Hotfix css mobile

This commit is contained in:
Johnnybegood90
2026-03-14 00:00:05 +01:00
parent b312e8cc26
commit 96c9835a27
3 changed files with 21 additions and 4 deletions
+19
View File
@@ -189,3 +189,22 @@
padding: 8px 18px;
cursor: pointer;
}
@media (max-width: 600px) {
html, body { height: 100%; overflow: hidden; }
body { overflow: hidden; }
.topbar {
height: auto;
flex-wrap: wrap;
padding: 8px 12px;
gap: 8px;
}
.logo { font-size: 11px; }
.clock { font-size: 14px; }
.grid-wrapper { display: none; }
.mobile-view { display: block; }
.tooltip { display: none !important; }
#navBtns { display: none !important; }
}
+1 -3
View File
@@ -148,9 +148,7 @@
.theme-select:hover { border-color: var(--accent2); color: var(--accent2); }
.theme-select option { background: #111; color: #eee; font-family: sans-serif; }
@media (max-width: 600px) {
html, body { height: 100%; overflow: hidden; }
body { overflow: hidden; }
body { overflow: hidden; }
.topbar {
height: auto;
+1 -1
View File
@@ -15,7 +15,7 @@
<link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Barlow+Condensed:wght@300;400;600;700&display=swap" rel="stylesheet">
<?php
$css_dir = __DIR__ . '/../css/';
$css_files = ['base', 'topbar', 'grid', 'mobile', 'player', 'modals', 'search', 'program', 'favorites', 'updater'];
$css_files = ['base', 'grid', 'mobile', 'topbar', 'player', 'modals', 'search', 'program', 'favorites', 'updater'];
echo "<style>\n";
foreach ($css_files as $file) {
echo file_get_contents($css_dir . $file . '.css') . "\n";