kopia lustrzana https://github.com/shoelace-style/shoelace
fixes #578
rodzic
7177b9bf82
commit
6aca68824a
|
@ -543,7 +543,7 @@ If you want to change the icons Shoelace uses internally, you can register an ic
|
|||
item.setAttribute('data-name', i.name);
|
||||
item.setAttribute('data-terms', [i.name, i.title, ...(i.tags || []), ...(i.categories || [])].join(' '));
|
||||
item.innerHTML = `
|
||||
<svg width="1em" height="1em">
|
||||
<svg width="1em" height="1em" fill="currentColor">
|
||||
<use xlink:href="/assets/icons/sprite.svg#${i.name}"></use>
|
||||
</svg>
|
||||
`;
|
||||
|
|
Ładowanie…
Reference in New Issue