mvc: anchor base_apply_button on page-content-head, adjust padding for content-box-main

This commit is contained in:
Stephan de Wit 2026-03-23 15:13:53 +01:00
parent 5787989520
commit 2edab3dbff
2 changed files with 8 additions and 7 deletions

View file

@ -2045,14 +2045,19 @@ class UIBootgrid {
let editAlert = this.$compatElement.attr('data-editAlert');
if (editAlert !== undefined) {
const $el = $("#" + editAlert);
const height = $('.navbar').first().outerHeight() + 5;
const rect = $(".page-content-head").first()[0].getBoundingClientRect();
const top = $('.navbar').first().outerHeight() + 5;
const centerX = rect.left + (rect.width / 2);
$el.css({
position: "fixed",
top: height + "px",
right: "20px",
top: top + "px",
left: centerX + "px",
right: "auto",
zIndex: 9999,
transform: "translateX(-50%)"
});
$el.slideDown(1000, function () {
setTimeout(function () {
$el.not(":animated").slideUp(2000);

View file

@ -6759,10 +6759,6 @@ body {
background: #fff;
border: 1px solid #E5E5E5;
}
.content-box-main {
padding-bottom: 15px;
padding-top: 15px;
}
.tab-content {
border-top: 0px;