Merge pull request #5403 from FELDSAM-INC/feldsam/css-fixes

[Web] BS5 styling fixes and enhancements
This commit is contained in:
Patrick Schult authored and GitHub committed 2023-09-08 15:29:47 +02:00
commit 9caaaa6498
60 files changed
+1429 -1218

No files matched your search

+1 -1
View File
@@ -15801,7 +15801,7 @@ DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, bu
paginationEl.empty();
}
else {
paginationEl = hostEl.html('<ul/>').children('ul').addClass('pagination');
paginationEl = hostEl.html('<ul/>').children('ul').addClass('pagination pagination-sm');
}
attach(
+12 -1
View File
@@ -121,10 +121,21 @@ $(document).ready(function() {
if (lastTab) {
$('[data-bs-target="#' + lastTab + '"]').click();
var tab = $('[id^="' + lastTab + '"]');
$(tab).find('.card-body.collapse').collapse('show');
$(tab).find('.card-body.collapse:first').collapse('show');
}
});
})();
// responsive tabs, scroll to opened tab
$(document).on("shown.bs.collapse shown.bs.tab", function (e) {
var target = $(e.target);
if($(window).width() <= 767) {
var offset = target.offset().top - 60;
$("html, body").stop().animate({
scrollTop: offset
}, 100);
}
});
// IE fix to hide scrollbars when table body is empty
$('tbody').filter(function (index) {