Skip to content

Commit

Permalink
fix(storefront): BCTHEME-279 fix logo displaying (#1865)
Browse files Browse the repository at this point in the history
Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>
  • Loading branch information
bc-alexsaiannyi and BC-tymurbiedukhin authored Oct 21, 2020
1 parent fdd8c33 commit 7b39a1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Fixed Logo displaying on mobile. [#1865](https://github.com/bigcommerce/cornerstone/pull/1865)
- Fixed image in modal for IE. [#1840](https://github.com/bigcommerce/cornerstone/pull/1840)
- Add announcement for filtered resutls on "Shop by Price". [#1854](https://github.com/bigcommerce/cornerstone/pull/1854)
- Add Announcement for Reset Filter by Price. [#1858](https://github.com/bigcommerce/cornerstone/pull/1858)
Expand Down
3 changes: 3 additions & 0 deletions assets/scss/layouts/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// 5. When logo size is set to "original", we don't have advance knowledge of the
// image size, so we can't use absolute positioning + padding to reserve space
// for lazy loading.
// 6. When logo size is set to "original" and switch to mobile version, it keeps
// content in center regardless its size.
//
// -----------------------------------------------------------------------------

Expand Down Expand Up @@ -88,6 +90,7 @@
color: $storeName-color;
height: inherit;
display: flex;
justify-content: center; // 6
align-items: center;
margin: 0 auto;
position: relative;
Expand Down

0 comments on commit 7b39a1a

Please sign in to comment.