Skip to content

Commit

Permalink
fix: hide search icon on medium or larger devices (#3398)
Browse files Browse the repository at this point in the history
* fix: hide search icon on larger devices

Avoids showing two search options 

Regression of d43894e

Closes #3396

* Changeset
  • Loading branch information
mbtools committed Sep 28, 2022
1 parent d4019f6 commit 0277180
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-maps-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@verdaccio/ui-theme': patch
---

Hide search icon on medium or larger devices
3 changes: 3 additions & 0 deletions packages/plugins/ui-theme/src/App/Header/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const NavBar = styled(AppBar)<{ theme?: Theme }>(({ theme }) => ({
${SearchWrapper} {
display: flex;
}
${IconSearchButton} {
display: none;
}
${MobileNavBar} {
display: none;
}
Expand Down

0 comments on commit 0277180

Please sign in to comment.