Skip to content

Commit

Permalink
fix: react ui upload form should have a max width
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Mitchell <[email protected]>
  • Loading branch information
starpit committed Jan 24, 2025
1 parent 05804b3 commit 61237ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pdl-live-react/src/page/Upload.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.pdl-upload-form {
max-width: 800px;
}
3 changes: 2 additions & 1 deletion pdl-live-react/src/page/Uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
} from "@patternfly/react-core"

import Page from "./Page"
import "./Upload.css"

const maxSize = 10 * 1024 * 1024

Expand Down Expand Up @@ -98,7 +99,7 @@ export default function Uploader() {

return (
<Page breadcrumb1="Uploader" breadcrumb2={filename} value={value}>
<Form>
<Form className="pdl-upload-form">
<FormGroup fieldId="text-file-with-restrictions-example">
<FileUpload
id="text-file-with-restrictions-example"
Expand Down

0 comments on commit 61237ce

Please sign in to comment.