Skip to content

Commit

Permalink
Solutions header fix for css (#392)
Browse files Browse the repository at this point in the history
* Solutions header fix for css

* Solutions header fix for css

* Solutions header fix for css

---------

Co-authored-by: Chandan Sharma <[email protected]>
  • Loading branch information
chandans1316 and chandan-bt authored Oct 31, 2024
1 parent ee8dd33 commit 74670ee
Showing 1 changed file with 10 additions and 6 deletions.
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

0 comments on commit 74670ee

Please sign in to comment.