Skip to content

Commit

Permalink
fix(v2): improve UI of search
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Nov 16, 2019
1 parent 11e84eb commit 0d459be
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
/* Left column, with secondary category header */
.algolia-docsearch-suggestion--subcategory-column {
border-right-color: #7671df;
background-color: #f2f2ff;
color: #4e4726;
}
}
Expand All @@ -63,7 +62,7 @@
@media (max-width: 360px) {
.search-bar {
width: 0 !important;
background: none !important;;
background: none !important;
padding: 0 !important;
transition: none !important;
}
Expand All @@ -76,7 +75,6 @@
display: inline;
vertical-align: sub;
}

}

.searchbox {
Expand Down Expand Up @@ -300,7 +298,7 @@
right: 48px;
}

.algolia-autocomplete .ds-dropdown-menu {
.algolia-autocomplete .ds-dropdown-menu {
position: relative;
top: -6px;
border-radius: 4px;
Expand All @@ -321,7 +319,7 @@
.algolia-autocomplete .ds-dropdown-menu {
z-index: 100;
position: fixed !important;
top: 40px !important;
top: 50px !important;
left: auto !important;
right: 1rem !important;
width: 600px;
Expand Down Expand Up @@ -349,6 +347,7 @@
border-radius: 4px;
overflow: auto;
padding: 0;
background: #ffffff;
}

.algolia-autocomplete .ds-dropdown-menu * {
Expand All @@ -360,6 +359,7 @@
position: relative;
padding: 0;
overflow: hidden;
text-decoration: none;
}

.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper {
Expand Down Expand Up @@ -457,8 +457,12 @@
right: 0;
}

.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header,.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary{
display:block
.algolia-autocomplete
.algolia-docsearch-suggestion.algolia-docsearch-suggestion__main
.algolia-docsearch-suggestion--category-header,
.algolia-autocomplete
.algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary {
display: block;
}

.algolia-autocomplete
Expand Down

0 comments on commit 0d459be

Please sign in to comment.