Resolved an issue where UI components like 'InfoCard' were causing text truncation by ignoring container width limitations. I refactored the text-fitting contract test to be exhaustive—instead of a whitelist, it now scans all primitives for text-fitting compliance and enforces a ratchet mechanism for any remaining exceptions. This change ensures consistent text rendering across the UI, preventing future regressions where text would otherwise be clipped or compressed.

Automated text fitting enforcement across all primitives - subh05sus/visual-anim-studio