feat(grid): widen the feature name column so longer names show

This commit is contained in:
Julien Calixte
2026-07-10 14:30:13 +01:00
parent 616a4c4301
commit f535c9ede5

View File

@@ -46,7 +46,7 @@ const TONE_DOT: Record<Tone, string> = {
} }
// Layout constants (must match the CSS vars --name-w / --wk) for stacking math. // Layout constants (must match the CSS vars --name-w / --wk) for stacking math.
const NAME_W = 9 * 16 const NAME_W = 16 * 16
const WK = 3.5 * 16 const WK = 3.5 * 16
const BAND_CHAR = 6.6 // ≈ Fira Code advance (px) at the band font size const BAND_CHAR = 6.6 // ≈ Fira Code advance (px) at the band font size
@@ -224,7 +224,7 @@ const bandStyle = computed(() => ({
<style scoped> <style scoped>
.macroplan { .macroplan {
--name-w: 9rem; --name-w: 16rem;
--wk: 3.5rem; --wk: 3.5rem;
} }
.plan-grid { .plan-grid {