Bootstrap 5.3 as CSS base + B3 theme layer; dialogs isolated as .dlg; offcanvas sidebar; icons via SVG assets + masks

This commit is contained in:
2026-10-02 23:44:00 +03:00
parent 24b72a2525
commit 9a4e11e5ba
12 changed files with 185 additions and 179 deletions

View File

@@ -166,7 +166,7 @@ function attachCommentAutocomplete(input) {
/* Если снизу внутри модалки мало места — раскрываем список вверх, чтобы он не обрезался. */
function positionList() {
var wrap = input.parentNode;
var scrollParent = input.closest('.modal-body') || document.documentElement;
var scrollParent = input.closest('.dlg-body') || document.documentElement;
var wr = wrap.getBoundingClientRect();
var sr = scrollParent.getBoundingClientRect();
var below = sr.bottom - wr.bottom;