Skip to content

Commit

Permalink
Allow taller images in picture elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Feb 8, 2024
1 parent e309b31 commit 5f84668
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Removed
### Fixed

- Allowed taller images in picture elements on tiny devices

### Security

## [0.1.36](https://github.com/nationalarchives/tna-frontend/compare/v0.1.35...v0.1.36) - 2024-02-06
Expand Down
4 changes: 1 addition & 3 deletions src/nationalarchives/components/picture/picture.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@
}

&__image {
width: 100%;
max-height: none;
height: auto;
max-height: 60rem;
}

&__caption {
Expand Down

0 comments on commit 5f84668

Please sign in to comment.