New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(textarea): add horizontal and vertical resize variants #2331
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,4 +151,12 @@ $pf-c-form-control__select--ViewBox: "320" !default; | |
--pf-c-form-control--invalid--Background: var(--pf-c-form-control__select--invalid--Background); | ||
} | ||
} | ||
|
||
&.pf-m-resize-vertical { | ||
resize: vertical; | ||
} | ||
|
||
&.pf-m-resize-horizontal { | ||
resize: horizontal; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mceledonia should we add a |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a
min-height
here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mceledonia what about a
min-height
when you can resize it vertically to prevent sizing it down too short?