From e98e380fb7c75fa2b8ad053786e095b341d6fef1 Mon Sep 17 00:00:00 2001 From: Reinholds Zviedris Date: Mon, 16 Nov 2026 12:16:09 +0200 Subject: [PATCH] fixed horizontal scroll --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index 4aea055..e6e993b 100644 --- a/index.html +++ b/index.html @@ -98,6 +98,11 @@ outline: none; } input:focus, select:focus { border-color: var(--accent); } + /* iOS sizes native selects/number inputs to their content; without min-width: 0 + their grid/flex cells grow past the card and the page scrolls sideways. */ + input, select { min-width: 0; max-width: 100%; } + select { text-overflow: ellipsis; } + .grid2 > *, .grid3 > *, .row > *, .gear-grid > *, .trow > * { min-width: 0; } .row { display: flex; gap: 10px; } .row > div { flex: 1; } .toggle { display: flex; gap: 8px; margin-top: 6px; }