Skip to content
This repository was archived by the owner on May 26, 2019. It is now read-only.

Commit b3d8b20

Browse files
committed
CSS tweaks to search menu
1 parent 6e0792a commit b3d8b20

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

source/stylesheets/_vendor-overwrites.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
.aa-dropdown-menu {
55
right: 0 !important;
6-
font-size: .9rem;
6+
font-size: .8rem;
77
border-color: #aaa;
88
}
99

@@ -13,6 +13,5 @@
1313
// side of the header, so it should extend to
1414
// the left of the input, not to the right.
1515
left: auto !important;
16-
font-size: 1rem;
1716
}
1817
}

source/stylesheets/vendor/_docsearch.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
// Main autocomplete wrapper
1111
.aa-dropdown-menu {
1212
background-color: #FFF;
13-
border: 1px solid #333;
1413
border-radius: 4px;
15-
font-size: 16px;
1614
margin: 6px 0 0;
17-
padding: 4px;
1815
text-align: left;
16+
box-shadow: 0 1px 2px rgba(0,0,0,0.5);
1917
}
2018

2119
// Each suggestion
@@ -29,12 +27,13 @@
2927
// Main category headers
3028
.algolia-docsearch-suggestion--category-header {
3129
display: none;
30+
border: 2px solid white;
3231
background: $color-category-header-background;
3332
color: white;
3433
font-weight: 600;
3534
padding: 5px 10px;
3635
text-align: left;
37-
// Only show it when flaggued as "__main"
36+
// Only show it when flagged as "__main"
3837
.algolia-docsearch-suggestion__main & {
3938
display: block;
4039
}
@@ -138,7 +137,7 @@
138137
color: $color-left-column;
139138
display: table-cell;
140139
overflow: hidden;
141-
padding: 5px 7px 5px 5px;
140+
padding: 3px 7px 3px 5px;
142141
text-align: right;
143142
text-overflow: ellipsis;
144143
vertical-align: top;
@@ -157,7 +156,7 @@
157156
}
158157
.algolia-docsearch-suggestion--content {
159158
display: table-cell;
160-
padding: 5px 10px;
159+
padding: 3px 10px;
161160
}
162161
.algolia-docsearch-suggestion--subcategory-inline {
163162
display: none;

0 commit comments

Comments
 (0)