reordered footer tab icons; addressed pipeline layout FT error
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-03-24 00:49:04 -04:00
parent e59d5fd4c0
commit f347af7eff
2 changed files with 8 additions and 4 deletions

View File

@@ -18,9 +18,13 @@ class LayoutAndStylingTest(FunctionalTest):
&& !ancestor.classList.contains('container')) {
ancestor = ancestor.parentElement;
}
var s = (ancestor || document.body).getBoundingClientRect();
var r = arguments[0].getBoundingClientRect();
return [r.x + r.width / 2, s.x + s.width / 2];
var a = ancestor || document.body;
var s = a.getBoundingClientRect();
var cs = window.getComputedStyle(a);
var pl = parseFloat(cs.paddingLeft);
var pr = parseFloat(cs.paddingRight);
var r = el.getBoundingClientRect();
return [r.x + r.width / 2, s.x + pl + (s.width - pl - pr) / 2];
""", el)
inputbox = note_page.get_item_input_box()