Skip to content

Commit

Permalink
Merge pull request #4497 from alphagov/hero-large-desktop
Browse files Browse the repository at this point in the history
Modify large desktop hero image behaviour
  • Loading branch information
andysellick authored Dec 3, 2024
2 parents ad29e37 + 01fb259 commit 1e3f4bf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/assets/stylesheets/views/_landing_page/hero.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "govuk_publishing_components/individual_component_support";

$desktop-height: 400px;
$large-desktop-height: 400px;
$large-desktop-height: 500px;

.app-b-hero__imagewrapper {
position: relative;
Expand All @@ -27,14 +27,6 @@ $large-desktop-height: 400px;
aspect-ratio: 4/3 auto;
width: 100%;
}

@media (min-width: 1281px) {
position: absolute;
top: 0;
left: 50%;
min-width: 100%;
transform: translate(-50%);
}
}

.app-b-hero__textbox {
Expand Down

0 comments on commit 1e3f4bf

Please sign in to comment.