From a3f2d2e6a0bcdb1db12c8f1aaa76760b7b3ce2b6 Mon Sep 17 00:00:00 2001 From: DCCONSTRUCTIONS Date: Fri, 8 May 2026 19:52:14 +0300 Subject: [PATCH] =?UTF-8?q?UI=20-=20=D0=9B=D0=90=D0=A3=D0=9D=D0=A7=D0=95?= =?UTF-8?q?=D0=A0:=20=D0=93=D0=95=D0=9E=D0=9C=D0=95=D0=A2=D0=A0=D0=98?= =?UTF-8?q?=D0=AF=20=D0=90=D0=94=D0=9C=D0=98=D0=9D-=D0=9C=D0=9E=D0=94?= =?UTF-8?q?=D0=90=D0=9B=D0=9E=D0=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/globals.css | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/styles/globals.css b/src/styles/globals.css index 2e6dadd..f4ed3dc 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -1827,6 +1827,10 @@ code { overflow: auto; } +.admin-panel-content__body:has(.service-content-modal-layer) { + overflow: visible; +} + .admin-panel-content .admin-section-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } @@ -2717,12 +2721,12 @@ code { } .service-content-modal-layer { - position: fixed; + position: absolute; z-index: 60; - inset: 0; + inset: var(--admin-panel-gap); display: grid; - place-items: center; - padding: 1.4rem; + place-items: stretch; + padding: 0; background: rgba(0, 0, 0, 0.38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); @@ -2856,8 +2860,9 @@ code { .service-content-modal { position: relative; display: grid; - width: min(58rem, calc(100vw - 2.8rem)); - max-height: min(44rem, calc(100vh - 2.8rem)); + width: 100%; + height: 100%; + max-height: none; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1rem; overflow: hidden; @@ -3380,8 +3385,8 @@ code { } .task-access-modal { - width: min(44rem, calc(100vw - 2rem)); - max-height: min(44rem, calc(100vh - 2.8rem)); + width: 100%; + max-height: none; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 0.85rem; }