Skip to content

Commit

Permalink
Fix gallery component layout when CSS loads but JS fails (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood authored Jul 24, 2024
1 parent 07790fc commit 240cfa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

- Further fixed gallery component layout when CSS loads but JS fails

### Security

## [0.2.2](https://github.com/nationalarchives/tna-frontend/compare/v0.2.1...v0.2.2) - 2024-07-24
Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/gallery/gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@

&__item-figure-inner {
width: 100%;
max-height: 50vh;

position: relative;

Expand Down Expand Up @@ -283,6 +282,7 @@
}

&--interactive &__item-figure-inner {
max-height: 50vh;
aspect-ratio: 3 / 2;
}

Expand Down

0 comments on commit 240cfa6

Please sign in to comment.