diff --git a/html/style.css b/html/style.css
index f51109a..4d92076 100644
--- a/html/style.css
+++ b/html/style.css
@@ -72,11 +72,10 @@ body {
"conditions"
"video";
min-height: 0;
- overflow: hidden;
+ overflow: visible;
border: 1px solid var(--accent);
border-radius: var(--r-lg) var(--r-lg) 0 0;
box-shadow: var(--glow-soft);
- overflow: hidden;
align-self: start;
max-height: 100%;
min-height: 0;
@@ -106,7 +105,7 @@ body {
gap: 1vh;
padding: 8px;
align-items: start;
- overflow: hidden;
+ overflow: visible;
}
p.header { margin-bottom: 1dvh; }
@@ -249,13 +248,16 @@ img.logo {
position: absolute;
z-index: 512;
visibility: hidden;
- width: 200px; /* fixed width so it doesn't collapse */
color: var(--text);
text-align: left;
top: 100%;
left: 0;
border: 1px solid var(--accent);
border-radius: var(--r-sm);
+ max-height: 80vh;
+ overflow-y: auto;
+ display: block;
+ min-width: 420px;
}
.popup .show {
@@ -264,12 +266,12 @@ img.logo {
.popup .popuptext p { font-size: 1rem; }
.popup .popuptext .emo { margin-top: 1rem; text-align: center; }
-.popup .popuptext .emo a { padding: 0 12px; font-size: 3rem; text-decoration: none; }
+.popup .popuptext .display: inline; emo a { display: inline; padding: 0 12px; font-size: 3rem; text-decoration: none; }
.popup .popuptext .text { padding-left: 20px; }
.popup .popuptext .text p { margin: 20px 0; }
-.popup .popuptext .sources { padding-left: 20px; }
+.popup .popuptext .sources { padding-bottom: 10px; padding-left: 20px; }
.popup .popuptext .sources p { padding-top: 4px; }
-.popup .popuptext .sources a { color: var(--accent); font-size: 1rem; }
+.popup .popuptext .sources a { display: inline-block; padding-bottom: 4px; color: var(--accent); font-size: 1rem; }
/* ─── Video panel ───────────────────────────────────────────── */
.video {
@@ -332,8 +334,8 @@ img.logo {
.conditions {
grid-template-columns: 1fr;
grid-template-rows: auto auto auto repeat(4, auto);
- overflow-y: auto;
- overflow-x: hidden;
+ #overflow-y: auto;
+ #overflow-x: hidden;
padding: 8px 6px;
gap: 1vh;
align-content: center;
@@ -398,28 +400,30 @@ img.logo {
════════════════════════════════════════════════════════════════ */
@media (orientation: portrait) {
- .main { border-radius: var(--r-sm) var(--r-sm) 0 0; }
+ .main {
+ border-radius: var(--r-sm) var(--r-sm) 0 0;
+ }
img.logo { max-height: 56px; }
.current { border-radius: var(--r-xs); }
.current .update { font-size: 0.75rem; }
- .current .wttr { font-size: 1.25rem; }
+ .current .wttr { font-size: 1rem; }
.current .danger { font-size: 0.75rem; }
.current .level { font-size: 1rem; }
.danger p { font-size: 0.75rem; }
.cat { font-size: 0.75rem; }
.cat p { padding-left: 12px; }
- .data { font-size: 1.25rem; margin-top: 0; padding: 2px 0; }
+ .data { font-size: 1rem; margin-top: 0; padding: 2px 0; }
.datapoint { margin-top: 10px; padding: 4px 0 0 8px; font-size: 0.75rem; }
.popup h5 { padding: 0 6px; font-size: 0.75rem; }
.popup .popuptext { font-size: 0.75rem; width: 180px; }
- .popup .popuptext .emo a { font-size: 3rem; }
+ .popup .popuptext .emo a { display: inline; font-size: 3rem; }
.popup .popuptext .text { padding-left: 10px; }
.popup .popuptext .text p { margin: 12px 0; }
- .popup .popuptext .sources { padding-left: 10px; }
- .popup .popuptext .sources a { font-size: 0.75px; }
+ .popup .popuptext .sources { padding-bottom: 10px; padding-left: 10px; }
+ .popup .popuptext .sources a { display: inline-block; padding-bottom: 4px; font-size: 0.75px; }
}