Skip to content

Commit

Permalink
Site Logo: Contrain image to its parent container (#41298)
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored May 25, 2022
1 parent 5b32b22 commit 89930c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/site-logo/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
height: auto;
}

// Constrain the image to its container.
img {
height: auto;
max-width: 100%;
}

// Inherit border radius from style variations.
a,
img {
Expand Down

0 comments on commit 89930c6

Please sign in to comment.