I've encountered an issue while using a flexbox to display two elements side by side. The left element contains text, while the right one holds a number.
When the value in the right element has at least 7 digits ( > 999,999 or < -999,999), I need to hide the left element text to accommodate the larger number.
Does anyone have any suggestions on how to address this challenge? Should I base the logic on the size of the right element or its actual value? Hopefully, there's a solution that doesn't require the use of a watcher.