update tailwindcss & tweak styles

This commit is contained in:
Elijah Duffy
2025-07-10 14:26:33 -07:00
parent b9328dc9a7
commit ba78511ec2
6 changed files with 9 additions and 9 deletions

View File

@@ -111,9 +111,9 @@
}
const options = opts.options;
if (options.length === 0) return;
const avg = options.reduce((acc, item) => acc + getLabel(item).length, 0) / options.length;
container.style.width = `${avg * 2.5}ch`;
console.log(`minWidth: ${avg * 2.5}ch`);
};
f(buildOpts);