Skip to content

Commit

Permalink
Change active drop down button color
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiro committed Dec 6, 2024
1 parent ae37911 commit f3ade03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/DropdownButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DropdownButton = ({ hasMenu = false, text, href, list }: DropdownButtonPro
<Menu isOpen={isOpen} onOpen={onOpen} onClose={onClose}>
<MenuButton
color={isActive ? "black" : "white"}
bg={isActive ? "#c3a6d9" : ""}
bg={isActive ? "violet.300" : ""}
as={Button}
h="100%"
borderRadius={0}
Expand Down Expand Up @@ -58,7 +58,7 @@ const DropdownButton = ({ hasMenu = false, text, href, list }: DropdownButtonPro
<Button
h="100%"
color={isActive ? "black" : "white"}
bg={isActive ? "#c3a6d9" : ""}
bg={isActive ? "violet.300" : ""}
borderRadius={0}
fontWeight="normal"
_hover={{ bgColor: "rgba(255, 255, 255, 0.3)" }}
Expand Down
2 changes: 1 addition & 1 deletion src/layout/TopBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const TopBar = () => {
<HStack>
<Link href="/" style={{ height: "100%", textDecoration: "none" }}>
<TopBarItem paddingLeft={0} userSelect="none" pointerEvents="none">
<Image height="70%" src="/images/header.png" alt="shibaac" />
<Image height="35px" boxSize="35px" src="/images/header.png" alt="shibaac" />
<Text fontSize="lg" color="white" ml="10px">
Shibaac
</Text>
Expand Down

0 comments on commit f3ade03

Please sign in to comment.