fix(nav): title-tooltip für icon-only Sidebar (1024–1279px)
This commit is contained in:
@@ -751,6 +751,7 @@ function navItemEl({ path, label, icon }) {
|
|||||||
a.className = 'nav-item';
|
a.className = 'nav-item';
|
||||||
a.setAttribute('role', 'listitem');
|
a.setAttribute('role', 'listitem');
|
||||||
a.setAttribute('aria-label', label);
|
a.setAttribute('aria-label', label);
|
||||||
|
a.setAttribute('title', label);
|
||||||
const i = document.createElement('i');
|
const i = document.createElement('i');
|
||||||
i.dataset.lucide = icon;
|
i.dataset.lucide = icon;
|
||||||
i.className = 'nav-item__icon';
|
i.className = 'nav-item__icon';
|
||||||
|
|||||||
Reference in New Issue
Block a user