Skip to content

Commit

Permalink
fix(storefront): BCTHEME-301 Header content placed out of the header …
Browse files Browse the repository at this point in the history
…block on mobile (#1907)
  • Loading branch information
yurytut1993 committed Nov 18, 2020
1 parent 4d4f9f2 commit 93849c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- HTML Entity displayed as is via system/error message on a Storefront. [#1888](https://github.com/bigcommerce/cornerstone/pull/1888)

## Draft
- Header content placed out of the header block on mobile. [#1907](https://github.com/bigcommerce/cornerstone/pull/1907)
- Shoppers are not anchor-linked to reviews on PDPs if product description tabs are enabled. [#1883](https://github.com/bigcommerce/cornerstone/pull/1883)
- Fixed text contrast for brand name on Cart page. [#1882](https://github.com/bigcommerce/cornerstone/pull/1882)
- Add sufficient contrast for Upsell Banners in Cornerstone Theme according to AA Standard. [#1891](https://github.com/bigcommerce/cornerstone/pull/1891)
Expand Down
10 changes: 3 additions & 7 deletions assets/scss/components/stencil/adminBar/_adminBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// =============================================================================

body.hasAdminBar {
padding-top: 101px; // 55px (Mobile Header) + 46px (Admin Bar)
padding-top: $header-height; // (Mobile Header)

@include breakpoint("medium") {
padding-top: 0;
Expand All @@ -42,16 +42,12 @@ body.hasAdminBar {
}

.header {
padding-top: 0;
padding-top: $adminBar-height;
}
}

.header {
padding-top: $adminBar-height;
}

.navPages-container.is-open {
padding-top: 101px;
padding-top: $header-height;
}
}

Expand Down

0 comments on commit 93849c4

Please sign in to comment.