mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Improve breadcrumb popover positioning
This commit is contained in:
1 parent
7ff0812d88
commit
eea593d88f
1 file changed
+2
-2
@@ -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 = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user