From d163653376a5b30e80de635ef343a0c4c14ddabb Mon Sep 17 00:00:00 2001 From: Maxime Locqueville Date: Wed, 11 Jan 2017 05:14:44 -0800 Subject: [PATCH] Update logo of the powered by --- src/lib/templates.js | 3 ++- src/styles/_dropdown.scss | 24 ++++++++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/lib/templates.js b/src/lib/templates.js index fc14f7a3..8da8e8f7 100644 --- a/src/lib/templates.js +++ b/src/lib/templates.js @@ -67,7 +67,8 @@ const templates = { `, footer: `
- Search by + + Search by
`, empty: ` diff --git a/src/styles/_dropdown.scss b/src/styles/_dropdown.scss index 1c1737c9..9e3debe9 100644 --- a/src/styles/_dropdown.scss +++ b/src/styles/_dropdown.scss @@ -465,25 +465,33 @@ // powered by .algolia-docsearch-footer { - width: 100px; + width: 100%; height: 20px; z-index: 2000; margin-top: $padding/1.5; float: right; - font-size: 0; - line-height: 0; + + &--logo-text { + float: right; + display: inline; + color: rgb(121, 121, 121); + font-size: 12px; + margin-right: 4px; + line-height: 19px; + } &--logo { - background-image: url('data:image/svg+xml;utf8,'); + background-image: url('data:image/svg+xml;utf8, '); background-repeat: no-repeat; background-position: center; - background-size: 100%; overflow: hidden; text-indent: -9000px; padding: 0!important; - width: 100%; - height: 100%; - display: block; + width: 78px; + height: 20px; + float: right; + display: inline !important; + margin-right: 8px } } }