From ee532eac53191b956b0c7eafc151ad2e5104213d Mon Sep 17 00:00:00 2001 From: Minsu Kim Date: Sat, 30 Nov 2024 14:38:27 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/EnteranceTable/EnteranceTable.styles.ts | 5 ++--- .../components/ReservationTable/ReservationTable.styles.ts | 5 ++--- .../src/pages/ShowEnterancePage/ShowEnterancePage.styles.ts | 2 ++ .../pages/ShowReservationPage/ShowReservationPage.styles.ts | 2 ++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts b/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts index fa5b7c70..e1bdd7a7 100644 --- a/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts +++ b/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts @@ -3,9 +3,8 @@ import styled from '@emotion/styled'; const Container = styled.table` table-layout: auto; - margin: 16px 0; + margin-bottom: 16px; width: ${({ theme }) => theme.breakpoint.desktop}; - height: 547px; `; const HeaderRow = styled.tr` @@ -51,7 +50,7 @@ const Empty = styled.div` top: 50%; left: 50%; display: flex; - transform: translateX(-50%); + transform: translateX(-50%) translateY(46px); flex-direction: column; flex: 1; justify-content: center; diff --git a/apps/admin/src/components/ReservationTable/ReservationTable.styles.ts b/apps/admin/src/components/ReservationTable/ReservationTable.styles.ts index 829a30b3..8c6289bf 100644 --- a/apps/admin/src/components/ReservationTable/ReservationTable.styles.ts +++ b/apps/admin/src/components/ReservationTable/ReservationTable.styles.ts @@ -3,9 +3,8 @@ import styled from '@emotion/styled'; const Container = styled.table` table-layout: auto; - margin: 16px 0; + margin-bottom: 16px; width: ${({ theme }) => theme.breakpoint.desktop}; - height: 547px; `; const HeaderRow = styled.tr` @@ -56,7 +55,7 @@ const Empty = styled.div` top: 50%; left: 50%; display: flex; - transform: translateX(-50%); + transform: translateX(-50%) translateY(46px); flex-direction: column; flex: 1; justify-content: center; diff --git a/apps/admin/src/pages/ShowEnterancePage/ShowEnterancePage.styles.ts b/apps/admin/src/pages/ShowEnterancePage/ShowEnterancePage.styles.ts index f6519c6e..d8a162a9 100644 --- a/apps/admin/src/pages/ShowEnterancePage/ShowEnterancePage.styles.ts +++ b/apps/admin/src/pages/ShowEnterancePage/ShowEnterancePage.styles.ts @@ -227,6 +227,8 @@ const TableContainer = styled.div` ${mq_lg} { display: block; width: 100%; + margin-top: 16px; + height: 567px; overflow-x: scroll; &::-webkit-scrollbar { display: none; diff --git a/apps/admin/src/pages/ShowReservationPage/ShowReservationPage.styles.ts b/apps/admin/src/pages/ShowReservationPage/ShowReservationPage.styles.ts index eaaad965..4ba7bab4 100644 --- a/apps/admin/src/pages/ShowReservationPage/ShowReservationPage.styles.ts +++ b/apps/admin/src/pages/ShowReservationPage/ShowReservationPage.styles.ts @@ -212,6 +212,8 @@ const TableContainer = styled.div` ${mq_lg} { display: block; width: 100%; + margin-top: 16px; + height: 567px; overflow-x: scroll; &::-webkit-scrollbar { display: none;