1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-23 02:42:37 +01:00

fix sweetalert11 issue #789

This commit is contained in:
Mikael Finstad 2021-07-23 23:14:25 +07:00
parent c0ae63731c
commit e9014c3fdd
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26
2 changed files with 6 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export async function askForOutDir(defaultPath) {
export async function askForFileOpenAction() { export async function askForFileOpenAction() {
const { value } = await Swal.fire({ 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', icon: 'question',
input: 'radio', input: 'radio',
inputValue: 'open', inputValue: 'open',

View File

@ -61,3 +61,8 @@ kbd {
align-items: flex-start !important; align-items: flex-start !important;
text-align: left; text-align: left;
} }
.swal2-container {
/* because body is set to white */
color: black;
}