Skip to content

Commit

Permalink
fixed button style on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
NwinNwin committed Sep 22, 2023
1 parent cc0f76b commit 8eb0289
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/components/CreateModal/CreateModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,17 @@ export default function CreateModal({
<>
{isCreate ? (
<Button
h={{ base: "10vh", md: "7vh" }}
w={{ base: "40vw", md: "8vw" }}
// h={{ base: "10vh", md: "7vh" }}
// w={{ base: "40vw", md: "" }}
boxShadow="xl"
_hover={{ bg: "#b4dbd9" }}
backgroundColor="#33b249"
color="white"
fontSize="xl"
fontWeight="bold"
borderRadius={20}
borderRadius={30}
size={"lg"}
paddingY={{ base: 10, md: 8 }}
onClick={() => {
if (user) {
onOpen();
Expand Down
14 changes: 10 additions & 4 deletions src/components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,16 @@ export default function Home() {
) : (
<>
<Button
backgroundColor="#a881af"
boxShadow="2xl"
color="white"
backgroundColor="white"
variant="outline"
boxShadow="7px 7px 14px #666666,
-7px -7px 14px #ffffff;"
color="#74a2fa"
onClick={onOpen}
fontSize={{ base: "xl", md: "2xl" }}
size="lg"
gap={2}
borderRadius={"lg"}
>
<SettingsIcon />
Filter
Expand All @@ -400,9 +403,12 @@ export default function Home() {
colorScheme="blue"
onClick={onResultsBarOpen}
fontSize="2xl"
boxShadow="2xl"
boxShadow="12px 12px 24px #a8a8a8,
-12px -12px 24px #ffffff;"
size="lg"
gap={2}
justifyContent={"center"}
alignItems={"center"}
>
<StarIcon />
</Button>
Expand Down

0 comments on commit 8eb0289

Please sign in to comment.