Skip to content

Commit 0c53120

Browse files
committed
fix(ui): home page menu and search responsiveness
1 parent 54f6836 commit 0c53120

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/views/components/menu/menu.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ $hoverBorder = rgba(0, 0, 0, 0.23)
1111
margin-bottom 32px
1212
padding-top 35px
1313
flex 1
14+
width 100%
1415

1516
.MuiFab-root
1617
border-radius 4px

src/views/components/search-bar/search-bar.styl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,13 @@
5151
&.filled
5252
&:focus
5353
width 582px
54+
55+
@media (max-width 450px)
56+
.search__bar
57+
max-width 90%
58+
margin-left 16px
59+
margin-right 16px
60+
61+
@media (pointer: coarse)
62+
.search__shortcut-icon
63+
display none

0 commit comments

Comments
 (0)