mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-24 12:35:05 +00:00
change default info icon size
This commit is contained in:
parent
7c2fbea06f
commit
098a112819
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ export default class Info {
|
|||
if (bg != null) elem.style.backgroundColor = bg;
|
||||
}
|
||||
if (info.order != 0) elem.style.order = info.order;
|
||||
if (!info.icon.startsWith("<svg")) info.icon = icons.get(info.icon);
|
||||
if (!info.icon.startsWith("<svg")) info.icon = icons.get(info.icon, { size: 18 });
|
||||
elem.innerHTML = `${info.text ?? ""}${info.icon ?? ""}`;
|
||||
|
||||
this.#container.appendChild(elem);
|
||||
|
|
|
|||
Loading…
Reference in a new issue