We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0b83e3 commit 1c8c7bfCopy full SHA for 1c8c7bf
core/src/components/textarea/textarea.scss
@@ -62,23 +62,9 @@
62
63
font-family: $font-family-base;
64
65
- white-space: pre-wrap;
66
-
67
z-index: $z-index-item-input;
68
69
box-sizing: border-box;
70
71
- /**
72
- * textarea defaults to break-spaces which
73
- * can cause extra whitespace to appear
74
- * when using newlines before a slotted
75
- * label element. To avoid this, we use
76
- * "collapse" which is the default value
77
- * for an <input />
78
- * If textarea is converted to Shadow DOM
79
- * then this may not be needed.
80
- */
81
- white-space-collapse: collapse;
82
}
83
84
// TODO: FW-2876 - Remove this selector
@@ -87,7 +73,7 @@
87
88
background: var(--background);
89
90
- white-space-collapse: inherit;
+ white-space: pre-wrap;
91
92
93
0 commit comments