From a302750de6904de7b9a5eab30f540f3fb5feceef Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Mon, 27 Jul 2026 08:26:24 +0300 Subject: [PATCH] Update GenerateGridDialog layout for improved usability and responsiveness Adjusted the GenerateGridDialog component to enhance its layout by increasing the maximum width and ensuring proper scrolling behavior. This change improves accessibility for users when interacting with long slot lists, maintaining a user-friendly interface. --- .../features/admin/channels/components/GenerateGridDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/features/admin/channels/components/GenerateGridDialog.tsx b/frontend/src/features/admin/channels/components/GenerateGridDialog.tsx index 4fb30d6..811922a 100644 --- a/frontend/src/features/admin/channels/components/GenerateGridDialog.tsx +++ b/frontend/src/features/admin/channels/components/GenerateGridDialog.tsx @@ -73,7 +73,7 @@ export function GenerateGridDialog({ {/* Окно не выше экрана: список слотов на неделю длинный, и без ограничения диалог вылезал за оба края — верх с выбором профиля становился недостижим. Скроллится тело, шапка и кнопки остаются на месте. */} - + {t('admin.channels.generate.title')} {t('admin.channels.generate.hint')} @@ -81,7 +81,7 @@ export function GenerateGridDialog({
{/* Профиль — то, ради чего окно и открыли: ритм суток задаёт всё остальное. */} -
+
{(profiles ?? []).map((item) => (