Improve breadcrumb popover positioning

This commit is contained in:
HighImKevin committed 2026-10-22 05:38:09 -04:00
1 parent 7ff0812d88
commit eea593d88f
1 file changed
+2 -2
+2 -2
View File
@@ -534,7 +534,7 @@
popoverContainer.className = 'kefinTweaks-popover-container'; popoverContainer.className = 'kefinTweaks-popover-container';
popoverContainer.style.cssText = ` popoverContainer.style.cssText = `
position: absolute; position: absolute;
top: calc(100% - 15px); top: 100%;
left: 0; left: 0;
z-index: 1001; z-index: 1001;
`; `;
@@ -696,7 +696,7 @@
popoverContainer.style.top = ''; popoverContainer.style.top = '';
popoverContainer.style.bottom = '100%'; popoverContainer.style.bottom = '100%';
} else { } else {
popoverContainer.style.top = 'calc(100% - 15px)'; popoverContainer.style.top = '100%';
popoverContainer.style.bottom = ''; popoverContainer.style.bottom = '';
} }