Skip to content

Commit

Permalink
Set all community cards to be same size
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mon1 committed Jun 27, 2024
1 parent cd4d70c commit 0654a91
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions themes/digital.gov/src/scss/new/home/_communities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@ $communities-of-practice: (
.usa-card {
max-width: none !important;

// Make the first card wider for emphasis
&:first-child {
grid-column: 1 / 3;

.usa-button--outline {
box-shadow: inset 0 0 0 2px map.get($communities-of-practice, "WCM");
color: map.get($communities-of-practice, "WCM");
&:hover {
color: #fff;
}
}
}
// Make the first card wider for emphasis, commented out if needed in the future
// &:first-child {
// grid-column: 1 / 3;

// .usa-button--outline {
// box-shadow: inset 0 0 0 2px map.get($communities-of-practice, "WCM");
// color: map.get($communities-of-practice, "WCM");
// &:hover {
// color: #fff;
// }
// }
// }
}

.usa-card__media {
Expand Down

0 comments on commit 0654a91

Please sign in to comment.