Skip to content

Fix ban template reason textarea width - #1134

Open
IThinkImGood wants to merge 1 commit into
citizenfx:masterfrom
IThinkImGood:fix/issue-1132-ban-template-css
Open

Fix ban template reason textarea width#1134
IThinkImGood wants to merge 1 commit into
citizenfx:masterfrom
IThinkImGood:fix/issue-1132-ban-template-css

Conversation

@IThinkImGood

Copy link
Copy Markdown

Summary

Fixes the ban template dialog reason field not spanning the expected dialog width after the autosize textarea gained a wrapper element.

Cause

The dialog passed grid column classes directly to AutosizeTextarea. Since the component now renders a wrapper around the textarea, those classes no longer applied to the grid child.

Changes

  • Move the grid span classes to a wrapper around AutosizeTextarea
  • Fix the reason label htmlFor to match the textarea id

@IThinkImGood

Copy link
Copy Markdown
Author

Fixes #1132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant