diff --git a/packages/ui-library/src/components/textarea/index.css.ts b/packages/ui-library/src/components/textarea/index.css.ts index 3c4978a64..f26bbe562 100644 --- a/packages/ui-library/src/components/textarea/index.css.ts +++ b/packages/ui-library/src/components/textarea/index.css.ts @@ -74,11 +74,13 @@ export const staticStyles = css` &[readonly] { border-color: transparent; + resize: none; } &:disabled { border-color: transparent; cursor: not-allowed; + resize: none; } &:focus { @@ -96,8 +98,8 @@ export const staticStyles = css` width: auto; } - ${ComponentThemeIterator((theme, sem, css) => { - const { InputField } = sem.TextArea; + ${ComponentThemeIterator((theme, cmp, css) => { + const { InputField } = cmp.TextArea; return css` .textarea-input-control.${theme} {