Skip to content

Commit

Permalink
Center "load" button in load JSON group
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Sep 7, 2023
1 parent 6e3d924 commit ef71125
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/components/groups/main/LoadJsonGroup.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
margin-top: 0.5em;
}

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

.load-json-form-submit {
margin-top: 0.5em;
background-color: rgb(46, 46, 46, 0.8);
Expand Down
13 changes: 8 additions & 5 deletions src/components/groups/main/LoadJsonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,14 @@ export default function LoadJsonGroup() {
encType="multipart/form-data"
>
<input type="file" accept=".json" name="jsonFile" />
<input
className="load-json-form-submit"
type="submit"
value="Load"
/>

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

0 comments on commit ef71125

Please sign in to comment.