tweak search style (#10985)
Neo committed
Sep 30, 2017 at 23:26 UTC
ca77e3443686c9d701174fed7f0bbf85f57dde5e
2 files changed
+9
-1
www/src/components/LayoutHeader/Header.js
+1
@@ -140,6 +140,7 @@ const Header = ({location}) => (
140
flexDirection: 'row',
141
alignItems: 'center',
142
paddingLeft: '0.5rem',
143
+ paddingRight: '0.5rem',
144
145
[media.lessThan('small')]: {
146
justifyContent: 'flex-end',
www/src/css/algolia.css
+8
-1
@@ -388,6 +388,13 @@
388
padding: 8px 0;
389
text-align: center;
390
font-size: 1.2em;
391
+ background-color: #373940;
392
+ margin-top: -8px;
393
+}
394
+
395
+.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text {
396
+ color: #ffffff;
397
+ margin-top: 4px;
398
}
399
400
.algolia-autocomplete .algolia-docsearch-suggestion--no-results::before {
@@ -419,7 +426,7 @@
426
427
.algolia-autocomplete .algolia-docsearch-footer {
428
width: 110px;
422
- height: 20px;
429
+ height: 0px;
430
z-index: 2000;
431
float: right;
432
font-size: 0;