Skip to content

Commit

Permalink
increased size of tags and fixed confirm button bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatMegamind committed May 1, 2024
1 parent f9581f0 commit 526495a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/Dropdown/Dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const Dropdown = ({ options, filter, selected, defaults, badgeColor, width }) =>
borderRadius="10rem"
fontWeight="normal"
px="0.5rem"
py="0.2rem"
mr="0.125rem"
>
{option}
Expand Down
5 changes: 3 additions & 2 deletions src/components/Events/DailyEvent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const DailyEvent = ({ event }) => {

useEffect(() => {
setEventData(event);
setConfirmEvent(event.confirmed);

if (event.year) {
if( event.year.length == 2)
Expand Down Expand Up @@ -73,11 +74,11 @@ const DailyEvent = ({ event }) => {

return (
<Box
bg={eventData.confirmed ? '#F7FAFC' : '#FEF1DC'}
bg={confirmEvent ? '#F7FAFC' : '#FEF1DC'}
p={6}
borderRadius="7"
borderLeftWidth="10px"
borderColor={eventData.confirmed ? '#2B93D1' : '#F69052'}
borderColor={confirmEvent ? '#2B93D1' : '#F69052'}
boxShadow="md"
>
<Flex minWidth="max-content" alignItems="flex-start" gap="50" justifyContent="space-between">
Expand Down

0 comments on commit 526495a

Please sign in to comment.