diff options
Diffstat (limited to 'client/src/app/header/search-typeahead.component.scss')
-rw-r--r-- | client/src/app/header/search-typeahead.component.scss | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index c410d4734..c2f5a1828 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss | |||
@@ -46,6 +46,18 @@ my-suggestions ::ng-deep ul { | |||
46 | transition: box-shadow .3s ease, width .2s ease; | 46 | transition: box-shadow .3s ease, width .2s ease; |
47 | } | 47 | } |
48 | 48 | ||
49 | @media screen and (min-width: 500px) { | ||
50 | margin-left: 10px; | ||
51 | } | ||
52 | |||
53 | @media screen and (max-width: 800px) { | ||
54 | flex: 1; | ||
55 | |||
56 | ::ng-deep input { | ||
57 | width: unset; | ||
58 | } | ||
59 | } | ||
60 | |||
49 | ::ng-deep span { | 61 | ::ng-deep span { |
50 | right: 10px; | 62 | right: 10px; |
51 | } | 63 | } |
@@ -59,7 +71,9 @@ my-suggestions ::ng-deep ul { | |||
59 | &:focus, | 71 | &:focus, |
60 | ::ng-deep &:focus-within { | 72 | ::ng-deep &:focus-within { |
61 | & > div:last-child { | 73 | & > div:last-child { |
62 | display: initial !important; | 74 | @media screen and (min-width: 500px) { |
75 | display: initial !important; | ||
76 | } | ||
63 | 77 | ||
64 | #typeahead-help, | 78 | #typeahead-help, |
65 | #typeahead-instructions, | 79 | #typeahead-instructions, |