Skip to content

Commit

Permalink
Fix sweetalert2 scroll issue in CSS files
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolat committed Oct 14, 2024
1 parent 82f10d4 commit ebdd8f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
9 changes: 9 additions & 0 deletions internal/view/static/css/partials/sweetalert2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
Fix sweetalert2 scroll issue
https://github.com/sweetalert2/sweetalert2/issues/781#issuecomment-475108658
*/
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown),
html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
height: 100% !important;
overflow-y: visible !important;
}
11 changes: 1 addition & 10 deletions internal/view/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,4 @@
@import "./partials/slim-select.css";
@import "./partials/notyf.css";
@import "./partials/scrollbar.css";

/*
Fix sweetalert2 scroll issue
https://github.com/sweetalert2/sweetalert2/issues/781#issuecomment-475108658
*/
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown),
html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
height: 100% !important;
overflow-y: visible !important;
}
@import "./partials/sweetalert2.css";

0 comments on commit ebdd8f4

Please sign in to comment.