Skip to content

Commit

Permalink
fix(ui5-textarea): set italic to placeholder only (#2458)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 authored Nov 11, 2020
1 parent 0c9b034 commit aeb9316
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/main/src/themes/TextArea.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
outline-offset: -4px;
}

:host([placeholder]) {
font-style: italic;
}

.ui5-textarea-root {
height: 100%;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit aeb9316

Please sign in to comment.