From 99520ade3fedfa9ace9429ac31bafe92e19fdcbe Mon Sep 17 00:00:00 2001 From: Sucukdeluxe <259325684+Sucukdeluxe@users.noreply.github.com> Date: Sun, 11 Oct 2026 17:43:12 +0200 Subject: [PATCH] Keep account OTP fields readable in narrow windows --- renderer/styles.css | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/renderer/styles.css b/renderer/styles.css index 0a3dd81..655b0a6 100644 --- a/renderer/styles.css +++ b/renderer/styles.css @@ -4525,14 +4525,15 @@ input[type="checkbox"] { } .account-otp-action { - display: grid; - grid-template-columns: minmax(0, 1fr) auto; + display: flex; + flex-wrap: wrap; } .account-otp-input { - width: 100%; - min-width: 0; - max-width: none; + flex: 1 0 150px; + width: 150px; + min-width: min(150px, 100%); + max-width: 100%; } .account-hoster-group-header { @@ -5106,7 +5107,13 @@ input[type="checkbox"] { } .account-otp-action { - grid-template-columns: minmax(0, 1fr); + flex-direction: column; + align-items: stretch; + } + + .account-otp-input { + flex: none; + width: 100%; } .account-otp-action .btn {