Bet you can't fix this CSS
https://codepen.io/cewfewdawedada/pen/qBQZjNP make the longText wrap so the flex-grow is respected 😉
1 Reply
change your class:
.longText{
flex-grow: 2;
inline-size: 100%;
overflow-wrap: break-word;
}
if you can use javascript you can calculate the inline-size requirement by counting the characters and then assigning a pixle value, but not to exceed the total width