Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

19 changes: 17 additions & 2 deletions rca/static_src/sass/components/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,28 @@
overflow: hidden;

&--medium {
max-height: 340px;
&::before {
@include z-index(under);
content: '';
background-color: $color--black;
height: 130px;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scrolled down on both desktop and mobile:

Screenshot 2025-04-24 at 7 05 33 PM Screenshot 2025-04-24 at 7 05 40 PM


margin-top: 120px; // height of header
max-height: 170px;

@include media-query(medium) {
max-height: 536px;
margin-top: 130px;
max-height: 320px;
}

@include media-query(large) {
margin-top: 90px;
margin-bottom: -90px;
max-height: 780px;
}
}
Expand Down