Skip to content

Commit

Permalink
Issue [#743] search input box misleading (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkarn authored and jennifer-shehane committed Sep 17, 2018
1 parent 1ed71c0 commit 8b1972c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions themes/cypress/source/css/_partial/media_queries.scss
Expand Up @@ -212,8 +212,6 @@
position: relative;
top: -6px;
left: -120px;
max-width: 320px;
min-width: 320px;
}

#content-inner {
Expand Down Expand Up @@ -300,6 +298,11 @@
width: 100%;
padding-right: 0;
}

.algolia-autocomplete .ds-dropdown-menu {
max-width: 320px;
min-width: 320px;
}
}

@media screen and(max-width: 500px) {
Expand Down
4 changes: 4 additions & 0 deletions themes/cypress/source/css/_partial/search.scss
Expand Up @@ -12,6 +12,9 @@
&.on {
display: inline-block;
}
.algolia-autocomplete {
width: calc(100% - 30px);
}
}

#search-input-icon {
Expand All @@ -24,6 +27,7 @@
}

#search-input {
width: 100%;
background: none;
font-size: inherit;
font-family: $font-sans;
Expand Down

0 comments on commit 8b1972c

Please sign in to comment.