From c24a0df4b214c7d4c0697af85fc7bcff7896d9ed Mon Sep 17 00:00:00 2001 From: Nirodan Date: Thu, 22 Jan 2026 15:22:45 +0100 Subject: [PATCH] Prevent input overflow in admin forms --- frontend/src/css/admin.css | 4 ++++ frontend/src/css/base.css | 2 ++ 2 files changed, 6 insertions(+) diff --git a/frontend/src/css/admin.css b/frontend/src/css/admin.css index 9315bdb..2302519 100644 --- a/frontend/src/css/admin.css +++ b/frontend/src/css/admin.css @@ -37,6 +37,7 @@ display: flex; flex-direction: column; gap: 12px; + min-width: 0; } .form-grid { @@ -57,6 +58,7 @@ color: var(--muted); font-weight: 600; word-break: break-word; + min-width: 0; } select { @@ -66,6 +68,8 @@ select { border-radius: 12px; padding: 10px 12px; width: 100%; + max-width: 100%; + min-width: 0; } .admin-card textarea { diff --git a/frontend/src/css/base.css b/frontend/src/css/base.css index f5a16f0..4c453a6 100644 --- a/frontend/src/css/base.css +++ b/frontend/src/css/base.css @@ -28,6 +28,8 @@ p { input, textarea { width: 100%; + max-width: 100%; + min-width: 0; background: var(--input-bg); color: var(--text); border: 1px solid var(--input-border);