Skip to content

Commit

Permalink
style(news card): make whole card clickable incl img (#1359)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieatacato authored Oct 18, 2023
1 parent 7fc0176 commit ee62138
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/CardNews/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
height: var(--denhaag-card-news-image-container-height);
overflow: hidden;
width: var(--denhaag-card-news-image-container-width);
z-index: 0;
}

.denhaag-card-news__image {
Expand Down Expand Up @@ -80,6 +81,7 @@
.denhaag-card-news__content {
display: var(--denhaag-card-news-content-display);
flex-direction: var(--denhaag-card-news-content-flex-direction);
z-index: 1;

@media (min-width: 25.9375rem) {
padding-block-start: var(--denhaag-card-news-figcaption-padding);
Expand Down

0 comments on commit ee62138

Please sign in to comment.