Skip to content

Commit

Permalink
fix(canary-web-components): set horizontal card image height to 100% …
Browse files Browse the repository at this point in the history
…to fix Safari issue

Set horizontal card image height to 100% to fix Safari issue where the image was displaying smaller
than it should - now it is inline with the Chrome behaviour.
  • Loading branch information
GCHQ-Developer-847 committed Dec 12, 2024
1 parent 8324b44 commit 565ab2d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ button {
border-radius: var(--ic-border-radius);
}

.image ::slotted([slot="image"]) {
height: 100%;
}

.card-content {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 565ab2d

Please sign in to comment.