Skip to content

The swiss army knife of lossless video/audio editing

fix sweetalert11 issue #789

Mikael Finstade9014c3fdd32
diff --git a/src/dialogs.jsx b/src/dialogs.jsx
index 6b43aa70..c2155f80 100644
--- a/src/dialogs.jsx
+++ b/src/dialogs.jsx
@@ -102,7 +102,7 @@ export async function askForOutDir(defaultPath) {
export async function askForFileOpenAction() {
const { value } = await Swal.fire({
- title: i18n.t('You opened a new file. What do you want to do?'),
+ text: i18n.t('You opened a new file. What do you want to do?'),
icon: 'question',
input: 'radio',
inputValue: 'open',
diff --git a/src/main.css b/src/main.css
index cc2ba4b4..79da7741 100644
--- a/src/main.css
+++ b/src/main.css
@@ -60,4 +60,9 @@ kbd {
/* !important is important: https://github.com/mifi/lossless-cut/issues/541#issuecomment-750003650 */
align-items: flex-start !important;
text-align: left;
+}
+
+.swal2-container {
+ /* because body is set to white */
+ color: black;
}
\ No newline at end of file