Skip to content

Commit

Permalink
Merge pull request #963 from newrelic/release
Browse files Browse the repository at this point in the history
Add max height to images (#938)
  • Loading branch information
tabathadelane committed Dec 8, 2023
2 parents 3e53928 + 2a8c271 commit 7430642
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ const GlobalStyles = ({ layout }) => (
}
img {
max-height: 550px;
max-width: 100%;
&.unbound {
max-height: unset;
}
}
h1,
Expand Down
1 change: 1 addition & 0 deletions packages/gatsby-theme-newrelic/src/components/Lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const Lightbox = ({ children }) => {
background: var(--modal-wrapper-color);
img {
max-height: unset;
max-width: unset;
}
`}
Expand Down

0 comments on commit 7430642

Please sign in to comment.