From e4c7254752de49fc801a30bde3cf0120e42cf9da Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 13 Jul 2022 10:14:06 +0300 Subject: [PATCH] Apply placeholder focus if hint not exist --- less/input.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/less/input.less b/less/input.less index 45e7e6a..243709a 100644 --- a/less/input.less +++ b/less/input.less @@ -164,10 +164,10 @@ & > .input-box { box-shadow: var(--input-shadow-focus); background: var(--input-background-focus); + } - & > .placeholder > label { - color: var(--input-color-focus); - } + &:not(.hint) > .input-box > .placeholder > label { + color: var(--input-color-focus); } }