Skip to content

Commit

Permalink
Fix arrow visual glitch in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhorsford committed Oct 14, 2024
1 parent e8928eb commit 9bb9224
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ $card-border-hover-color: $color_nhsuk-grey-3;
padding-bottom: nhsuk-spacing(3);
padding-top: nhsuk-spacing(3);
position: relative;

// Fix for https://github.com/nhsuk/nhsuk-frontend/issues/1048
&:has(.nhsuk-card--care__arrow){
transform: translateZ(0);
}
}

.nhsuk-card--care__heading {
Expand Down

0 comments on commit 9bb9224

Please sign in to comment.