From 64c18805f0c833b73cecbc98ff90904f4c040968 Mon Sep 17 00:00:00 2001 From: Repellent Date: Thu, 19 Mar 2026 19:16:34 +0500 Subject: [PATCH] =?UTF-8?q?+++=20fix=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE?= =?UTF-8?q?=D0=BA=20=D0=B2=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=BA=D0=B5=20?= =?UTF-8?q?(=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=80?= =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B8=D0=BA=D0=B8,=20=D0=B4=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=83=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=B0=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=BA=D0=BD?= =?UTF-8?q?=D0=BE=D0=BF=D0=BA=D0=B0=20=D0=B2=D1=8B=D0=B1=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B8=D0=B7=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/templates/css/main.css | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/admin/templates/css/main.css b/admin/templates/css/main.css index e161cf2..940ba09 100644 --- a/admin/templates/css/main.css +++ b/admin/templates/css/main.css @@ -428,8 +428,12 @@ a.button, span.button { padding: 4px 10px; } } /* Фикс верстки админки для Chrome: только текстовые поля */ + +/* лечим текстовые инпуты во всех проблемных контейнерах */ input[type="text"].mousetrap, -input[type="password"].mousetrap { +input[type="password"].mousetrap, +.formRight input[type="text"], +.pr12 input[type="text"] { padding: 2px 4px !important; box-sizing: border-box !important; display: inline-block !important; @@ -437,12 +441,28 @@ input[type="password"].mousetrap { height: 22px !important; } -/* Принудительная стыковка кнопок, идущих сразу за инпутом */ -input.mousetrap + .button, +/* выравнивание соседей без изменения их размеров */ +input.mousetrap +   + .button, +input.mousetrap + .button, input.mousetrap + span.button, -input.mousetrap +   + span.button { +input.mousetrap + a.button, +.pr12 input +   + input[type="button"], /* Сцепка внутри pr12 */ +.pr12 input + input[type="button"] { vertical-align: middle !important; - display: inline-block !important; + float: none !important; +} + +/* фикс высоты для кнопок-инпутов, чтобы не раздувались */ +.pr12 input[type="button"], +.formRight input[type="button"] { + height: 22px !important; + padding: 0 6px !important; + vertical-align: middle !important; +} + +/* запрет на разрыв строки для всех контейнеров форм */ +td[nowrap], .formRight, .pr12 { + white-space: nowrap !important; } /* ========== Pagination ========== */