Skip to content

Commit

Permalink
fix(storybook): diable resize function (#1149)
Browse files Browse the repository at this point in the history
Co-authored-by: Thorben Hartmann <122102805+thrbnhrtmnn@users.noreply.github.com>
  • Loading branch information
bar-tay and thrbnhrtmnn authored Aug 26, 2024
1 parent a7057b1 commit bb8c18a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ui-library/src/components/textarea/index.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ export const staticStyles = css`
&[readonly] {
border-color: transparent;
resize: none;
}
&:disabled {
border-color: transparent;
cursor: not-allowed;
resize: none;
}
&:focus {
Expand All @@ -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} {
Expand Down

0 comments on commit bb8c18a

Please sign in to comment.