From 7c3cc4b6405c1876a6ce0f7b414ff32f385c1c0a Mon Sep 17 00:00:00 2001 From: Minsu Kim Date: Sat, 30 Nov 2024 01:00:01 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Empty=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/EnteranceTable/EnteranceTable.styles.ts | 4 ++++ .../components/ReservationTable/ReservationTable.styles.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts b/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts index 4ee710f..fa5b7c7 100644 --- a/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts +++ b/apps/admin/src/components/EnteranceTable/EnteranceTable.styles.ts @@ -47,7 +47,11 @@ const Item = styled.td` `; const Empty = styled.div` + position: absolute; + top: 50%; + left: 50%; display: flex; + transform: translateX(-50%); 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 b480ad3..829a30b 100644 --- a/apps/admin/src/components/ReservationTable/ReservationTable.styles.ts +++ b/apps/admin/src/components/ReservationTable/ReservationTable.styles.ts @@ -52,7 +52,11 @@ const DisabledText = styled.span` `; const Empty = styled.div` + position: absolute; + top: 50%; + left: 50%; display: flex; + transform: translateX(-50%); flex-direction: column; flex: 1; justify-content: center;