From e7f6b22b5df417af99fde13d3aa832ce0de48b48 Mon Sep 17 00:00:00 2001 From: MACHINSOFT <110278369+machinsoft@users.noreply.github.com> Date: Sun, 4 Feb 2024 16:44:09 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=B1=20style:=20Settings=20UI=20Enhance?= =?UTF-8?q?ments=20for=20Mobile=20(#1721)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix the interface for the mobile version. * Make uniform margins for buttons. --- client/src/components/Nav/Settings.tsx | 18 +++++++++--------- client/src/localization/languages/Ru.tsx | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/client/src/components/Nav/Settings.tsx b/client/src/components/Nav/Settings.tsx index 629093d6390..fee42d1d0d0 100644 --- a/client/src/components/Nav/Settings.tsx +++ b/client/src/components/Nav/Settings.tsx @@ -8,7 +8,7 @@ import { useMediaQuery, useLocalize } from '~/hooks'; import { cn } from '~/utils'; export default function Settings({ open, onOpenChange }: TDialogProps) { - const isSmallScreen = useMediaQuery('(max-width: 768px)'); + const isSmallScreen = useMediaQuery('(max-width: 767px)'); const localize = useLocalize(); return ( @@ -47,9 +47,9 @@ export default function Settings({ open, onOpenChange }: TDialogProps) { >