Updated narrow tab text to be more consistent.

This commit is contained in:
Christian Bastian
2024-04-03 17:17:21 -04:00
parent b4d762b920
commit 7c0ea8718d

View File

@@ -3390,7 +3390,7 @@ class ModelManager extends ComfyDialog {
const minWidth = 768; // magic value (could easily break)
const managerRect = this.element.getBoundingClientRect();
const isNarrow = managerRect.width < minWidth;
let texts = isNarrow ? ["📥︎", "📁", "⚙"] : ["Download", "Models", "Settings"];
let texts = isNarrow ? ["⬇️", "📁", "⚙"] : ["Download", "Models", "Settings"];
const tabHeaders = tabs.children[0];
texts.forEach((text, i) => {
tabHeaders.children[i].innerText = text;