Skip to content

Commit

Permalink
Limit the maximum height of the picture information dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Feb 5, 2025
1 parent b4a4766 commit fe359dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Phase banners can be added at the top of the header and global header components

### Changed

- Limited the maximum height of the information dropdown in picture components

### Deprecated
### Removed

Expand Down
4 changes: 4 additions & 0 deletions src/nationalarchives/components/picture/picture.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
&__transcript {
@include colour.contrast;

max-height: 25rem;

padding: spacing.space(1.5);

overflow: auto;
}

&__caption {
Expand Down

0 comments on commit fe359dc

Please sign in to comment.