From 3c0e858ed8044ce481b7317e12eaaa63127fbe72 Mon Sep 17 00:00:00 2001 From: ilhan Date: Wed, 11 Nov 2020 08:29:48 +0200 Subject: [PATCH] fix(ui5-textarea): set italic to placeholder only --- packages/main/src/themes/TextArea.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/main/src/themes/TextArea.css b/packages/main/src/themes/TextArea.css index 9dc30d019650..1aed470f3cbe 100644 --- a/packages/main/src/themes/TextArea.css +++ b/packages/main/src/themes/TextArea.css @@ -39,9 +39,6 @@ outline-offset: -4px; } -:host([placeholder]) { - font-style: italic; -} .ui5-textarea-root { height: 100%; @@ -114,21 +111,25 @@ .ui5-textarea-inner::-webkit-input-placeholder { /* Chrome/Opera/Safari */ + font-style: italic; color: var(--sapField_PlaceholderTextColor); } .ui5-textarea-inner::-moz-placeholder { /* Firefox 19+ */ + font-style: italic; color: var(--sapField_PlaceholderTextColor); } .ui5-textarea-inner:-ms-input-placeholder { /* IE 10+ */ + font-style: italic; color: var(--sapField_PlaceholderTextColor); } .ui5-textarea-inner:-moz-placeholder { /* Firefox 18- */ + font-style: italic; color: var(--sapField_PlaceholderTextColor); }