Compare commits

...
Author SHA1 Message Date
Ricardo Guzman a9cf1a150b Merge commit 'refs/pr/480' into phone-text-webpage-fix 2026-11-17 14:20:16 -03:00
Walter Dunckel 9aa4062d7b Web page: let the title bar grow on phones instead of overflowing
The bar had a fixed height of 56 px. On a phone held upright (every width from 320 to 430 px) the title wraps to three or four lines next to the
four buttons and sticks out of the bar, so its first line slides under the browser's address bar. The bar now has a minimum height; below 576 px wide
the title takes its own row and the buttons sit on the row below.

Measured at 320 to 768 px wide: nothing sticks out any more, widths from 768 px up are unchanged (56 px), and between 440 and 640 px the bar is up to
12 px taller than before.
2026-11-01 12:51:46 -08:00
+2 -1
View File
@@ -22,8 +22,9 @@
[data-variant="night"] .btn-save{background:#000;border-color:#000;color:#ff6b6b;}
[data-variant="night"] .btn-save:hover{background:#1a0000;color:#ff8a8a;}
body{background:var(--msh-bg);color:var(--msh-text);font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;}
.app-topbar{background:#b21d1d;border-bottom:1px solid rgba(0,0,0,.25);height:56px;z-index:1030;}
.app-topbar{background:#b21d1d;border-bottom:1px solid rgba(0,0,0,.25);min-height:56px;padding-top:.35rem;padding-bottom:.35rem;z-index:1030;}
.app-topbar .brand{font-weight:600;color:#fff;font-size:1.1rem;}
@media(max-width:575.98px){.app-topbar{flex-wrap:wrap;row-gap:.35rem;}.app-topbar .brand{flex:1 1 100%;font-size:.95rem;line-height:1.25;}}
.btn-icon{background:transparent;border:1px solid rgba(255,255,255,.45);color:#fff;display:inline-flex;align-items:center;}
.btn-icon:hover{background:rgba(255,255,255,.15);color:#fff;}
.btn-save{background:#fff;border:1px solid #fff;color:#b21d1d;font-weight:600;}