From f00a411c176005b9cdcb8cb0539809dbde78ebf5 Mon Sep 17 00:00:00 2001 From: seo-wo <4nyth4me@gmail.com> Date: Wed, 20 Dec 2023 14:39:22 +0900 Subject: [PATCH 1/3] feat: the way not to use isSubmit state wip: need to discuss #139 --- src/assets/css/Rotation/New_Rotation.scss | 11 ++++++----- src/components/Rotation/Rotation.tsx | 19 ++----------------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/src/assets/css/Rotation/New_Rotation.scss b/src/assets/css/Rotation/New_Rotation.scss index 0988118..10c95bd 100644 --- a/src/assets/css/Rotation/New_Rotation.scss +++ b/src/assets/css/Rotation/New_Rotation.scss @@ -28,7 +28,7 @@ flex-direction: column; justify-content: center; align-items: center; - margin-bottom: 20px; + // margin-bottom: 20px; } .rotation-viewSelectDates-title { @@ -56,12 +56,13 @@ color: $pinkred; font-weight: bold; cursor: pointer; - font-size: 13px; - border: none; + font-size: 20px; + border: 1px solid $pinkred; border-radius: 10px; transition: 0.5s ease; display: flex; align-items: center; + text-align: center; background: none; } button:hover { @@ -128,8 +129,8 @@ } button[disabled] { background: #f0f0f0 !important;} button:not([disabled]) { - background: none !important; - &.selected, &.attendLimited { background: #01BABC !important; } + background: rgb(53, 218, 196)!important; + &.selected, &.attendLimited { background: rgb(237, 89, 89) !important; } &:not(.selectable):hover { cursor: default !important;} } } \ No newline at end of file diff --git a/src/components/Rotation/Rotation.tsx b/src/components/Rotation/Rotation.tsx index 62423ad..5792f4e 100644 --- a/src/components/Rotation/Rotation.tsx +++ b/src/components/Rotation/Rotation.tsx @@ -301,12 +301,6 @@ const SelectDateBox = ({ >
- {getToken() ? `${LoginState.id}님, 신청하시죠?` : '로그인 후 신청 가능!'} + {getToken() ? `${getDecodedToken().id}님, 신청하시죠?` : '로그인 후 신청 가능!'}