From a83686fc72222ab41540bdcaa40402de650d3c8b Mon Sep 17 00:00:00 2001 From: philipcheung Date: Sat, 1 Nov 2025 21:36:55 +0800 Subject: [PATCH] button updated --- src/components/new_ui/info.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/new_ui/info.tsx b/src/components/new_ui/info.tsx index ef33c1c..b165446 100644 --- a/src/components/new_ui/info.tsx +++ b/src/components/new_ui/info.tsx @@ -56,13 +56,12 @@ function Info() { /> {infoData.map((info) => ( - // buttons setSelectedInfo(info.id)} bg={selectedInfo === info.id ? '#3D6741' : '#D4D4D4'} - border="4px solid #99BF35" + border={selectedInfo === info.id ? "4px solid #99BF35" : "none"} borderRadius={{ base: '20px', sm: '20px', md: '18px', lg: '16px', xl: '14px' }} display="flex" alignItems="center" @@ -83,6 +82,7 @@ function Info() { lineHeight="1.2" transition="all 0.3s ease" px={2} + boxShadow="inset 9px 3px 9px rgba(0,0,0,0.3), inset -3px 3px 6px rgba(0,0,0,0.3), inset 3px -3px 6px rgba(0,0,0,0.3), 4px 4px 10px rgba(0,0,0,0.45)" > {info.title}