-
-
@RenderBody()
-@section modal {
- @RenderSection("modal", false)
-}
\ No newline at end of file
diff --git a/src/admin/Bootstrap.Admin/Views/Shared/_Bootstrap.cshtml b/src/admin/Bootstrap.Admin/Views/Shared/_Bootstrap.cshtml
index a26efc28..cc0553d6 100644
--- a/src/admin/Bootstrap.Admin/Views/Shared/_Bootstrap.cshtml
+++ b/src/admin/Bootstrap.Admin/Views/Shared/_Bootstrap.cshtml
@@ -34,4 +34,3 @@
@await Html.PartialAsync("Header")
@RenderBody()
@await Html.PartialAsync("Footer")
-@RenderSection("modal", false)
\ No newline at end of file
diff --git a/src/admin/Bootstrap.Admin/Views/Shared/_Default.cshtml b/src/admin/Bootstrap.Admin/Views/Shared/_Default.cshtml
index b64c6aa1..2306e02c 100644
--- a/src/admin/Bootstrap.Admin/Views/Shared/_Default.cshtml
+++ b/src/admin/Bootstrap.Admin/Views/Shared/_Default.cshtml
@@ -34,43 +34,6 @@
@RenderSection("javascript", false)
}
-@section modal {
-
-
-
- @RenderSection("modal", false)
-
-
-
-
-
-
-
-
-
- @RenderSection("query", false)
-
-
-
-
-
- @RenderSection("customModal", false)
-}
@await RenderSectionAsync("body", false)
+
+
+
+ @RenderSection("modal", false)
+
+
+
+
+
+
+
+
+
+ @RenderSection("query", false)
+
+
+
+
+
+@RenderSection("customModal", false)
diff --git a/src/admin/Bootstrap.Admin/wwwroot/css/site-responsive.css b/src/admin/Bootstrap.Admin/wwwroot/css/site-responsive.css
index 680d35fd..3e375d33 100644
--- a/src/admin/Bootstrap.Admin/wwwroot/css/site-responsive.css
+++ b/src/admin/Bootstrap.Admin/wwwroot/css/site-responsive.css
@@ -25,7 +25,7 @@
@media (min-width: 768px) {
.main-content {
- position: fixed;
+ position: absolute;
overflow: auto;
-ms-overflow-style: auto;
}
diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/ba.blazor.js b/src/admin/Bootstrap.Admin/wwwroot/js/ba.blazor.js
index 7666e233..62e4085c 100644
--- a/src/admin/Bootstrap.Admin/wwwroot/js/ba.blazor.js
+++ b/src/admin/Bootstrap.Admin/wwwroot/js/ba.blazor.js
@@ -108,12 +108,6 @@
$('[data-toggle="tooltip"]').tooltip();
$('.sidebar').addNiceScroll().autoScrollSidebar();
},
- initModal: function (id) {
- $('#' + id).appendTo($('body'));
- },
- initToast: function (id) {
- $('#' + id).appendTo($('body'));
- },
toggleModal: function (modalId) {
$(modalId).modal('toggle');
},