From 9bc0a824027f0aeba7efabe22dd795deb648b817 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 11 Dec 2019 19:13:20 -0500 Subject: [PATCH] More styles for autocomplete --- resources/components/search.less | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/resources/components/search.less b/resources/components/search.less index 2bcae74f..3fe804d9 100644 --- a/resources/components/search.less +++ b/resources/components/search.less @@ -153,6 +153,25 @@ .suggestions-dropdown { background: @base-100; .boxshadow(4); + + .suggestion-link { + display: block; + position: relative; + min-height: 2rem; + width: 100%; + padding: 1rem 1rem 1rem 5.375rem; + } + + .suggestion-thumbnail { + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + height: 100%; + width: 4.375rem; // 70px + position: absolute; + top: 0; + left: 0; + } } // RTL tweaks