Skip to content

Commit

Permalink
Use bordered styles for coordinates-based event list only
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremysteerio committed Dec 11, 2024
1 parent 193ca99 commit cdea9b4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/js/react/common/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export type CardItemProps = {
weightedEducation?: string;
languageEducation?: string;
registrationRequired?: boolean;
useBorderedCards?: boolean;
};

function CardItem({
Expand Down
9 changes: 9 additions & 0 deletions src/scss/06_components/paragraphs/_event-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ $tag-vertical-padding: 5px;
@include component-side-padding;
}

.component--react-search.component--coordinates-based-event-list {
background-color: $color-white;
}

// Use experimental card border styles for this paragraph.
.component--coordinates-based-event-list .card:not(.card--ghost) {
border: 2px solid $color-black-20;
}

.events-list__empty-subtext {
margin-bottom: $spacing-and-half;
}
Expand Down

0 comments on commit cdea9b4

Please sign in to comment.