diff --git a/public/js/admin.js b/public/js/admin.js index 3f76488..ca4c398 100644 --- a/public/js/admin.js +++ b/public/js/admin.js @@ -338,14 +338,14 @@ function editContribution(contributionId, currentTitle, currentDescription) { Swal.fire({ title: 'Beitrag bearbeiten', html: - '
' + - '
' + + '
' + + '
' + '' + - '' + + '' + '
' + '
' + '' + - '' + + '' + '
' + '
', showCancelButton: true, @@ -442,9 +442,9 @@ function editModComment(commentId, currentContent) { Swal.fire({ title: 'Kommentar bearbeiten', html: - '
' + + '
' + '' + - '' + + '' + '
', showCancelButton: true, confirmButtonText: 'Speichern', @@ -509,18 +509,18 @@ function createNews() { Swal.fire({ title: 'Neuigkeit hinzufügen', html: - '
' + - '
' + + '
' + + '
' + '' + - '' + + '' + '
' + - '
' + + '
' + '' + - '' + + '' + '
' + '
' + '' + - '' + + '' + '
' + '
', showCancelButton: true, @@ -563,18 +563,18 @@ function editNews(newsId, currentTitle, currentContent, currentAuthor) { Swal.fire({ title: 'Neuigkeit bearbeiten', html: - '
' + - '
' + + '
' + + '
' + '' + - '' + + '' + '
' + - '
' + + '
' + '' + - '' + + '' + '
' + '
' + '' + - '' + + '' + '
' + '
', showCancelButton: true, diff --git a/public/js/app.js b/public/js/app.js index 14c9020..1fda51a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -666,14 +666,14 @@ function editContribution(contributionId) { Swal.fire({ title: 'Beitrag bearbeiten', html: - '
' + - '
' + + '
' + + '
' + '' + - '' + + '' + '
' + '
' + '' + - '' + + '' + '
' + '
', showCancelButton: true, diff --git a/public/styles.css b/public/styles.css index 9223147..7baf26a 100644 --- a/public/styles.css +++ b/public/styles.css @@ -292,6 +292,20 @@ select.form-input { cursor: pointer; } margin-bottom: var(--space-xs); } +.swal-form { + text-align: left; +} + +.swal-group { + margin-bottom: var(--space-sm); +} + +.swal2-input, +.swal2-textarea { + margin: 0 !important; + width: 100% !important; +} + .detail-block { padding: var(--space-sm) 0; font-size: var(--font-base);