Skip to content

Commit

Permalink
[PBNTR-431] Fixing textarea duplicated classname (#3660)
Browse files Browse the repository at this point in the history
**What does this PR do?**
Removing textarea duplicated class name causing duplicated
margin-bottom.

**Screenshots:**

![image](https://github.com/user-attachments/assets/ae07f263-049b-440f-bc0a-ce81d964516c)

**How to test?** 
1. Go to the Textarea doc page


#### Checklist:
- [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new
kit`, `deprecated`, or `breaking`. See [Changelog &
Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels)
for details.
- [x] **DEPLOY** I have added the `milano` label to show I'm ready for a
review.
- [ ] **TESTS** I have added test coverage to my code.
  • Loading branch information
carloslimasd authored Sep 10, 2024
1 parent f6e46f9 commit a42dbda
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion playbook/app/pb_kits/playbook/pb_textarea/_textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const Textarea = ({
<Caption text={label} />
{children || (
<textarea
className="pb_textarea_kit"
disabled={disabled}
name={name}
onChange={onChange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<%= text_area(
:object,
:method,
:class => "#{object.classname}",
:max_characters => object.max_characters,
:name => object.name,
:onkeyup => object.onkeyup,
Expand Down

0 comments on commit a42dbda

Please sign in to comment.