Skip to content

Commit

Permalink
fix(site-header): fix mobile site-name overlapping menu - FRONT-3579 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
papegaill committed Mar 17, 2022
1 parent 912229a commit 2d2903e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ $_logo-width-lg: 15.1rem;
padding: map.get(theme.$spacing, 'm') 0;
}

.ecl-site-header-harmonised__site-name {
margin-right: map.get(theme.$spacing, '3xl');
}

/* stylelint-disable-next-line order/order */
@include breakpoints.up('s') {
.ecl-site-header-harmonised__logo-link {
Expand Down Expand Up @@ -329,6 +333,7 @@ $_logo-width-lg: 15.1rem;

.ecl-site-header-harmonised__site-name {
padding: map.get(theme.$spacing, 'l') 0;
margin-right: 0;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ $_search-width-xl: 31.5rem;
}
}

.ecl-site-header-standardised__site-name {
margin-right: map.get(theme.$spacing, '3xl');
}

// stylelint-disable plugin/selector-bem-pattern
.ecl-search-form__button .ecl-button__label {
display: none;
Expand Down Expand Up @@ -297,6 +301,7 @@ $_search-width-xl: 31.5rem;
.ecl-site-header-standardised__site-name {
align-self: center;
flex-grow: 1;
margin-right: 0;
padding: map.get(theme.$spacing, 'l') 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ $_search-width-xl: 31.5rem;
color: map.get(theme.$color, 'white');
font: map.get(theme.$font-prolonged, 'xl');
font-weight: map.get(theme.$font-weight, 'bold');
margin-right: map.get(theme.$spacing, '3xl');
padding: 0;
}

Expand Down Expand Up @@ -313,6 +314,7 @@ $_search-width-xl: 31.5rem;
align-self: center;
color: map.get(theme.$color, 'grey-80');
flex-grow: 1;
margin-right: 0;
padding: map.get(theme.$spacing, 'm') 0;
}

Expand Down

1 comment on commit 2d2903e

@github-actions
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.