Skip to content

Commit

Permalink
Align "choose file" in load JSON group to center
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Sep 7, 2023
1 parent ef71125 commit 454bbc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
5 changes: 0 additions & 5 deletions src/components/groups/main/LoadJsonGroup.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
.load-json-form {
width: 25%;
margin: 0 auto;
margin-top: 0.5em;
}

.load-json-form-submit-container {
text-align: center;
}

Expand Down
14 changes: 6 additions & 8 deletions src/components/groups/main/LoadJsonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,12 @@ export default function LoadJsonGroup() {
encType="multipart/form-data"
>
<input type="file" accept=".json" name="jsonFile" />

<div className="load-json-form-submit-container">
<input
className="load-json-form-submit"
type="submit"
value="Load"
/>
</div>
<br />
<input
className="load-json-form-submit"
type="submit"
value="Load"
/>
</form>
</Group>
);
Expand Down

0 comments on commit 454bbc0

Please sign in to comment.