Feed banner height variable into layout margin creator

This commit is contained in:
akcodez
2025-02-20 13:37:18 -08:00
parent 8a4a6ce65a
commit 5041b75667
4 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -37,7 +37,6 @@
object-fit: cover;
content: url("../img/home-hero.svg");
margin-bottom: 24px;
margin-top: 24px;
@media (min-width: 992px) {
min-height: 470px;
}

View File

@@ -2,7 +2,7 @@
text-decoration: none;
display: flex;
justify-content: space-between;
height: 52px;
height: $banner-height;
background: #D919FF !important;
padding: 7px 35px;
font-family: "Work Sans";

View File

@@ -1,6 +1,6 @@
/* Top navigation ----------------------------------------------------------- */
$nav-height: 80px;
$banner-height: 0; // Apex 2024 banner was 46px. 0 for no pencil banner.
$banner-height: 52px; // Apex 2025 banner is 52px. 0 for no pencil banner.
[data-component-name="layouts/RootLayout"] {
padding-top: $nav-height + $banner-height;