Skip to content

Commit ebdd8f4

Browse files
committed
Fix sweetalert2 scroll issue in CSS files
1 parent 82f10d4 commit ebdd8f4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
Fix sweetalert2 scroll issue
3+
https://github.com/sweetalert2/sweetalert2/issues/781#issuecomment-475108658
4+
*/
5+
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown),
6+
html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
7+
height: 100% !important;
8+
overflow-y: visible !important;
9+
}

internal/view/static/css/style.css

+1-10
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,4 @@
66
@import "./partials/slim-select.css";
77
@import "./partials/notyf.css";
88
@import "./partials/scrollbar.css";
9-
10-
/*
11-
Fix sweetalert2 scroll issue
12-
https://github.com/sweetalert2/sweetalert2/issues/781#issuecomment-475108658
13-
*/
14-
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown),
15-
html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
16-
height: 100% !important;
17-
overflow-y: visible !important;
18-
}
9+
@import "./partials/sweetalert2.css";

0 commit comments

Comments
 (0)