From 34b50db33a2947f13991ebba495bec651584a9cd Mon Sep 17 00:00:00 2001 From: ss0526100 Date: Wed, 23 Oct 2024 16:05:01 +0900 Subject: [PATCH 1/3] =?UTF-8?q?hotfix:=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OptionsPanel/OptionsPanel.style.ts | 1 + .../pages/Bet/BetDetailPage/BetDetailPage.tsx | 6 +++--- .../pages/Bet/BetResultPage/BetResultPage.tsx | 2 +- .../Bet/components/Roulette/DrawRoulette.ts | 16 ++++++++++++---- .../Bet/components/Roulette/Roulette.styles.ts | 12 +++++++++--- .../pages/Bet/components/Roulette/Roulette.tsx | 17 ++++++++++++++++- .../OAuthMigrationResultPage.tsx | 15 ++++++++------- 7 files changed, 50 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/OptionsPanel/OptionsPanel.style.ts b/frontend/src/components/OptionsPanel/OptionsPanel.style.ts index 2a24e5af7..e14b4c715 100644 --- a/frontend/src/components/OptionsPanel/OptionsPanel.style.ts +++ b/frontend/src/components/OptionsPanel/OptionsPanel.style.ts @@ -22,6 +22,7 @@ export const panel = ({ width: ${width}; + background-color: white; border: 0; border-radius: 2.4rem; box-shadow: 0 0 12.6px 0 rgb(178 178 178 / 33%); diff --git a/frontend/src/pages/Bet/BetDetailPage/BetDetailPage.tsx b/frontend/src/pages/Bet/BetDetailPage/BetDetailPage.tsx index ac403b1e5..781b3e1b4 100644 --- a/frontend/src/pages/Bet/BetDetailPage/BetDetailPage.tsx +++ b/frontend/src/pages/Bet/BetDetailPage/BetDetailPage.tsx @@ -28,12 +28,12 @@ const getButtonMessage = (bet?: BetDetail) => { const getIsButtonDisabled = (bet?: BetDetail) => { if (!bet) return true; - if (bet.isAnnounced && bet.chatroomId) return false; + if (bet.isAnnounced && bet.chatroomId) return true; if (bet.myRole === 'MOIMER') return false; if (bet.myRole === 'MOIMEE') return true; - if (bet.myRole === 'NON_MOIMEE') return true; - return false; + if (bet.myRole === 'NON_MOIMEE') return false; + return true; }; const bitbit = 'bitbit'; diff --git a/frontend/src/pages/Bet/BetResultPage/BetResultPage.tsx b/frontend/src/pages/Bet/BetResultPage/BetResultPage.tsx index 278f10de8..56ee0c7f3 100644 --- a/frontend/src/pages/Bet/BetResultPage/BetResultPage.tsx +++ b/frontend/src/pages/Bet/BetResultPage/BetResultPage.tsx @@ -98,7 +98,7 @@ export default function BetResultPage() { /> )} - {isButtonShown && ( + {isButtonShown && bet?.myRole !== 'NON_MOIMEE' && ( From a5b2353491ca98802cd6f328e9e30cf08d3f67eb Mon Sep 17 00:00:00 2001 From: ss0526100 Date: Wed, 23 Oct 2024 16:20:50 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=EB=8B=A4=EB=9D=BD=EB=B0=A9=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EA=B2=80=EC=A0=95=EC=83=89=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DarakbangNameWrapper/DarakbangNameWrapper.style.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/components/DarakbangNameWrapper/DarakbangNameWrapper.style.ts b/frontend/src/components/DarakbangNameWrapper/DarakbangNameWrapper.style.ts index 363d81ef9..80988501a 100644 --- a/frontend/src/components/DarakbangNameWrapper/DarakbangNameWrapper.style.ts +++ b/frontend/src/components/DarakbangNameWrapper/DarakbangNameWrapper.style.ts @@ -3,7 +3,10 @@ import { SerializedStyles, css } from '@emotion/react'; export const name = ({ font }: { font: string | SerializedStyles }) => css` ${font} overflow-x: hidden; + max-width: 40vw; + + color: black; text-overflow: ellipsis; white-space: nowrap; `; From caeb349ef4ff18ed696141aa349675a3dcf15bea Mon Sep 17 00:00:00 2001 From: ss0526100 Date: Wed, 23 Oct 2024 16:21:05 +0900 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=EB=8B=A4=EB=9D=BD=EB=B0=A9=20?= =?UTF-8?q?=ED=99=94=EC=82=B4=ED=91=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Icons/SolidArrow.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/Icons/SolidArrow.tsx b/frontend/src/components/Icons/SolidArrow.tsx index 5c658b449..490e55b97 100644 --- a/frontend/src/components/Icons/SolidArrow.tsx +++ b/frontend/src/components/Icons/SolidArrow.tsx @@ -22,16 +22,17 @@ export default function SolidArrow(props: SolidArrowProps) { viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg" - transform={`rotate(${directionMapper[direction]})`} {...otherProps} > - + + + ); }