Skip to content

Commit

Permalink
fix(textarea): Apply input error style to textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
frederike-ramin committed Jul 11, 2024
1 parent e77393c commit 0db54d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function ({ addComponents, theme }) {
cursor: "not-allowed",
backgroundColor: theme("colors.white"),
},
".ds-input.has-error": {
".ds-input.has-error, .ds-textarea.has-error": {
boxShadow: `inset 0 0 0 2px ${theme("colors.red.800")}`,
backgroundColor: theme("colors.red.200"),
},
Expand Down

0 comments on commit 0db54d7

Please sign in to comment.