mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix sidebar tooltip (#16238)
This commit is contained in:
parent
0ce3757b80
commit
910244f751
@ -810,6 +810,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
tooltip.innerHTML = item.querySelector(".item-text")!.innerHTML;
|
tooltip.innerHTML = item.querySelector(".item-text")!.innerHTML;
|
||||||
tooltip.style.display = "block";
|
tooltip.style.display = "block";
|
||||||
|
tooltip.style.position = "fixed";
|
||||||
tooltip.style.top = `${top}px`;
|
tooltip.style.top = `${top}px`;
|
||||||
tooltip.style.left = `${item.offsetLeft + item.clientWidth + 4}px`;
|
tooltip.style.left = `${item.offsetLeft + item.clientWidth + 4}px`;
|
||||||
}
|
}
|
||||||
@ -840,6 +841,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
|
|||||||
haStyleScrollbar,
|
haStyleScrollbar,
|
||||||
css`
|
css`
|
||||||
:host {
|
:host {
|
||||||
|
overflow: visible;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user