Skip to content

Commit

Permalink
modals no longer in div
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Jul 16, 2024
1 parent 8219be4 commit efcb923
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
4 changes: 0 additions & 4 deletions src/sections/upload-dataset-files/FileUploader.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@
text-align: center;
}

.forms {
padding: 0.5em;
}

.selected_files_checkbox {
display: inline-flex;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,18 @@ export function UploadedFiles({

return (
<>
<div className={styles.forms}>
<RestrictionModal
defaultRequestAccess={requestAccess}
defaultTerms={terms}
show={showRestrictionModal}
update={restrict}
/>
<AddTagsModal
show={showAddTagsModal}
availableTags={[...tagOptions]}
setTagOptions={setTagOptions}
update={addTags}
/>
</div>
<RestrictionModal
defaultRequestAccess={requestAccess}
defaultTerms={terms}
show={showRestrictionModal}
update={restrict}
/>
<AddTagsModal
show={showAddTagsModal}
availableTags={[...tagOptions]}
setTagOptions={setTagOptions}
update={addTags}
/>
<div hidden={fileUploadState.length === 0}>
<Card>
<FilesHeader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
}

.selected_files_info {
position: absolute;
right: 0;
display: inline-flex;
align-items: center;
justify-content: flex-end;
position: absolute;
right: 0;
}

.uploaded_files_info {
Expand Down

0 comments on commit efcb923

Please sign in to comment.