Skip to content

Commit 5041b75

Browse files
committed
Feed banner height variable into layout margin creator
1 parent 8a4a6ce commit 5041b75

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

static/css/devportal2024-v1.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/_pages.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
object-fit: cover;
3838
content: url("../img/home-hero.svg");
3939
margin-bottom: 24px;
40-
margin-top: 24px;
4140
@media (min-width: 992px) {
4241
min-height: 470px;
4342
}

styles/_top-banner.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
text-decoration: none;
33
display: flex;
44
justify-content: space-between;
5-
height: 52px;
5+
height: $banner-height;
66
background: #D919FF !important;
77
padding: 7px 35px;
88
font-family: "Work Sans";

styles/_top-nav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Top navigation ----------------------------------------------------------- */
22
$nav-height: 80px;
3-
$banner-height: 0; // Apex 2024 banner was 46px. 0 for no pencil banner.
3+
$banner-height: 52px; // Apex 2025 banner is 52px. 0 for no pencil banner.
44

55
[data-component-name="layouts/RootLayout"] {
66
padding-top: $nav-height + $banner-height;

0 commit comments

Comments
 (0)