Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Fix mobile header #1454

Merged
merged 1 commit into from
Aug 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

- Fix mobile header [#1454](https://github.com/open-apparel-registry/open-apparel-registry/pull/1454)

### Security

## [45] 2021-07-21
Expand Down
8 changes: 8 additions & 0 deletions src/app/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,18 @@ hr {
justify-content: middle;
}

.logo {
height: 35px;
}

@media (min-width: 600px) {
.mobileMenuToggle {
display: none;
}

.logo {
height: 60px;
}
}

@media (max-width: 599px) {
Expand Down
6 changes: 1 addition & 5 deletions src/app/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,7 @@ function Navbar({ openGDPR }) {
href="/"
style={{ display: 'inline-flex' }}
>
<img
src={logo}
style={{ height: '60px' }}
alt="logo"
/>
<img src={logo} className="logo" alt="logo" />
</Link>
</div>
{mainNavigation}
Expand Down