Skip to content

Commit 7be7b9e

Browse files
bh412jsharkey13
authored andcommitted
Restyle and rename class to differentiate event cards from news
(cherry picked from commit ea80b3a)
1 parent 9854f48 commit 7be7b9e

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

src/app/components/elements/cards/EventCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const EventCard = ({event, pod = false}: {event: AugmentedEvent; pod?: bo
99
const {id, title, subtitle, eventThumbnail, location, expired, date, endDate, multiDay} = event;
1010

1111
return <RS.Card className={classnames({'card-neat': true, 'disabled text-muted': expired, 'm-4': pod, 'mb-4': !pod})}>
12-
{eventThumbnail && <div className={'card-image text-center mt-3'}>
12+
{eventThumbnail && <div className={'event-card-image text-center mt-3'}>
1313
<RS.CardImg
1414
className={'m-auto rounded-circle'} top
1515
src={eventThumbnail.src} alt={eventThumbnail.altText || `Illustration for ${title}`}

src/scss/cards.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// //margin-left: -1.45rem;
2222
// //width: calc(100% - 0.5rem) !important;
2323
//}
24-
.events-carousel & .card-image {
24+
.event-card-image {
2525
img {
2626
display: block;
2727
height: 150px;

src/scss/homepage.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@
3939
}
4040
}
4141

42-
section#events {
43-
img {
44-
height: 151px !important;
45-
width: 151px !important;
46-
margin: 1rem;
47-
}
48-
}
49-
5042
//section#sign-up-card {
5143
// border: black 1px solid;
5244
//}

0 commit comments

Comments
 (0)