From 369ece1a505e1f81022efb9b504a18ad532a4cc4 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Tue, 12 Apr 2022 12:35:11 +0530 Subject: [PATCH] fix: decorated input text color (#968) --- app/assets/javascripts/components/DecoratedInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/DecoratedInput.tsx b/app/assets/javascripts/components/DecoratedInput.tsx index a2e23229c8d..b8a73c689e1 100644 --- a/app/assets/javascripts/components/DecoratedInput.tsx +++ b/app/assets/javascripts/components/DecoratedInput.tsx @@ -23,7 +23,7 @@ const getClassNames = ( container: `flex items-stretch position-relative bg-default border-1 border-solid border-main rounded focus-within:ring-info overflow-hidden ${ !hasLeftDecorations && !hasRightDecorations ? 'px-2 py-1.5' : '' }`, - input: `w-full border-0 focus:shadow-none bg-transparent ${ + input: `w-full border-0 focus:shadow-none bg-transparent color-text ${ !hasLeftDecorations && hasRightDecorations ? 'pl-2' : '' } ${hasRightDecorations ? 'pr-2' : ''}`, disabled: 'bg-grey-5 cursor-not-allowed',