Skip to content

Commit

Permalink
Merge pull request #245 from MetroStar/form-width-fix
Browse files Browse the repository at this point in the history
Remove Hardcoded Form Max Width
  • Loading branch information
jbouder authored Aug 22, 2024
2 parents 1ea2d04 + 69254e8 commit f7bab3e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/comet-uswds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metrostar/comet-uswds",
"version": "3.0.0",
"version": "3.0.1",
"description": "React with TypeScript Component Library based on USWDS 3.0.",
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/comet-uswds/src/components/form/form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const FormWrapper: React.FC = () => {
};

return (
<Form id="contact-form" onSubmit={handleSubmit} className="width-tablet">
<Form id="contact-form" onSubmit={handleSubmit} className="maxw-mobile-lg">
<TextInput
id="name"
name="name"
Expand Down
1 change: 0 additions & 1 deletion packages/comet-uswds/src/components/form/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export const Form = ({
<form
id={id}
className={classNames('usa-form', { 'usa-form--large': isLarge }, className)}
style={{ maxWidth: 'unset' }}
{...formProps}
>
{children}
Expand Down

0 comments on commit f7bab3e

Please sign in to comment.