From 8da5a8823fae0b9946f5ff93ea363a3a9e5e2f51 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 8 Feb 2024 18:02:04 +0000 Subject: [PATCH] Change hero image aspect to 5:2 --- CHANGELOG.md | 3 +++ src/nationalarchives/components/hero/hero.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cef33802..a67c3a4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Changed + +- Changed the aspect ratio of the hero image to be 5:2 + ### Deprecated ### Removed ### Fixed diff --git a/src/nationalarchives/components/hero/hero.scss b/src/nationalarchives/components/hero/hero.scss index ecb4acc3..748e2c35 100644 --- a/src/nationalarchives/components/hero/hero.scss +++ b/src/nationalarchives/components/hero/hero.scss @@ -8,7 +8,7 @@ @include colour.contrast-on-mobile; &__figure { - min-height: clamp(12rem, calc(33vw - 12rem), 63rem); + min-height: clamp(12rem, calc(40vw - 12rem), 63rem); margin: 0; padding-top: 8rem; padding-bottom: 4rem;