From f648194f55277e972ab6071841af24dd0161425b Mon Sep 17 00:00:00 2001 From: jakubabrzy Date: Tue, 19 Sep 2023 17:49:35 +0200 Subject: [PATCH] navigation search style fixes --- src/css/custom.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index f6a6554f..0b125c39 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -54,17 +54,19 @@ html[data-theme="dark"] .navbar__search { /* TODO: Replace with Algolia search icon */ .navbar__search-input { @apply w-32 lg:w-48 h-10 text-base xs:pl-8; +} - &:focus { - @apply xs:pl-9; - } +.navbar__search-input:focus { + @apply xs:pl-9; +} - &:not(:placeholder-shown) { - @apply xs:pl-9 pr-8; +.navbar__search-input:not(:placeholder-shown) { + @apply xs:pl-9 pr-8; +} - @media (max-width: 576px) { - width: 8rem !important; - } +@media (max-width: 576px) { + .navbar__search-input:not(:placeholder-shown) { + width: 8rem !important; } }