Skip to content

Commit

Permalink
style: swals normalized
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Dec 6, 2023
1 parent 23b0958 commit a66fef3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 8 additions & 2 deletions src/renderer/src/assets/css/helperClasses.css
Original file line number Diff line number Diff line change
Expand Up @@ -1012,10 +1012,12 @@
}

.swal2-html-container {
max-height: 400px !important;
max-width: 32em;
height: 100% !important;
max-width: 100%;
display: flex !important;
flex-direction: column !important;
overflow: visible !important;

}

.swal2-html-container .guided--form-label,
Expand Down Expand Up @@ -1112,3 +1114,7 @@ body.swal2-shown > [aria-hidden="true"] {
#api_connect_btn {
margin: auto ;
}

.swal2-container {
overflow: visible !important
}
4 changes: 1 addition & 3 deletions src/renderer/src/scripts/others/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5037,10 +5037,8 @@ const mergeLocalAndRemoteDatasetStructure = async (
if (duplicateFiles.length > 0) {
const userConfirmedFileOverwrite = await swalFileListDoubleAction(
duplicateFiles.map((file) => `${file.virtualFilePath}${file.fileName}`),
"Duplicate files detected",
`Duplicate files detected <p>You have two options for the duplicate files:</p>`,
`
You have two options for the duplicate files:
<br />
<span
class="text-left"
style="display: flex; flex-direction: column; margin-bottom: 1em">
Expand Down

0 comments on commit a66fef3

Please sign in to comment.