From bb593d2d14b12d5c86d591b1ac7076c6f05682b3 Mon Sep 17 00:00:00 2001 From: detteiu8383 Date: Sun, 8 Oct 2023 15:01:53 +0900 Subject: [PATCH] =?UTF-8?q?:adhesive=5Fbandage:=20Nav=E3=81=AE=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=88=E3=83=AB=E3=81=AE=E5=B9=85=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/components/templates/Nav.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/src/components/templates/Nav.tsx b/dashboard/src/components/templates/Nav.tsx index 5fdb14d5b..4d1e05029 100644 --- a/dashboard/src/components/templates/Nav.tsx +++ b/dashboard/src/components/templates/Nav.tsx @@ -8,7 +8,8 @@ const Container = styled('div', { base: { width: '100%', overflowX: 'hidden', - padding: '32px', + padding: '32px 32px 32px 32px', + paddingRight: 'max(calc(50% - 500px), 32px)', display: 'flex', gap: '8px', }, @@ -25,7 +26,7 @@ const TitleContainer = styled('div', { width: '100%', maxWidth: '1000px', height: '44px', - left: 'calc((100% - 1000px) / 2)', + left: 'calc(75% - 250px)', display: 'flex', alignItems: 'center', gap: '8px',