mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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.style.display = "block";
|
||||
tooltip.style.position = "fixed";
|
||||
tooltip.style.top = `${top}px`;
|
||||
tooltip.style.left = `${item.offsetLeft + item.clientWidth + 4}px`;
|
||||
}
|
||||
@ -840,6 +841,7 @@ class HaSidebar extends SubscribeMixin(LitElement) {
|
||||
haStyleScrollbar,
|
||||
css`
|
||||
:host {
|
||||
overflow: visible;
|
||||
height: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
Loading…
x
Reference in New Issue
Block a user