Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solutions header fix for css #392

Merged
merged 3 commits into from
Oct 31, 2024
Merged
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
16 changes: 10 additions & 6 deletions blocks/solution-header/solution-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@
.solution-header-wrapper:has(.navattic), .solution-header-wrapper.is-sticky:has(.navattic) {
width: 100%;
max-width: unset;
padding-bottom: var(--spacer-element-07) !important;
padding-top: var(--spacer-element-07) !important;
height: unset;
background: var(--neutral-carbon);
opacity: 1;
border-bottom: 1px solid var(--neutral-grey-tint140);
padding-top: 0 !important;
padding-bottom: 0 !important;
}

.solution-header-wrapper .solution-header.navattic, .solution-header-wrapper.is-sticky .solution-header.navattic {
Expand Down Expand Up @@ -404,21 +404,22 @@

/* Desktop */
@media (min-width: 1200px) {
/* Block - Solution Header */
.solution-header {
margin: 0 auto;
width: 100%;
display: flex;
align-items: flex-end;
}

.solution-header .solution-header__inner {
display: flex;
height: 100%;
align-items: flex-end;
justify-content: space-between;
flex-shrink: 0;
gap: var(--spacer-layout-04);
padding-top: 0;
padding-bottom: 0;
width: var(--section-width-desktop);
height: var(--nav-height);
}

.solution-header ul {
Expand Down Expand Up @@ -446,12 +447,13 @@
}

.solution-header .solution-header__inner .solution-header__col-1 {
display: flex;
align-items: center;
margin: 0;
}

.solution-header .solution-header__inner .solution-header__col-2 {
overflow-x: auto;
max-width: 650px;
height: 100%;
margin: 0 0 calc(var(--spacer-element-08) * -1) 0;
border-top: 0;
Expand All @@ -461,6 +463,8 @@
position: relative;
top: inherit;
right: inherit;
display: flex;
align-items: center;
}

.solution-header ul li a {
Expand Down
Loading