Skip to content

Commit

Permalink
Made the border on the pickup event card in cart page not glow
Browse files Browse the repository at this point in the history
  • Loading branch information
WishingWell13 committed Apr 16, 2024
1 parent 6ef1325 commit 13b65da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/events/EventCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ const EventCard = ({
<Link
href={`${config.eventsRoute}/${uuid}`}
data-community={community}
className={`${styles.container} ${borderless ? '' : styles.bordered} ${className || ''}`}
data-disabled={borderless ? 'true' : 'false'}
className={`${styles.container} ${borderless ? 'disabled' : styles.bordered} ${
className || ''
}`}
onClick={e => {
e.preventDefault();
setExpanded(true);
Expand Down
2 changes: 1 addition & 1 deletion src/components/events/EventCard/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
border-radius: 10px;
}

&:not([disabled]):hover {
&:not([data-disabled='true']):hover {
outline-width: 4px;
transform: scale(0.975);

Expand Down

0 comments on commit 13b65da

Please sign in to comment.