This is what I am trying to do ↓
And this is what I have (basically, I will no achieve text-overlfow like that, but at least it'll be something. Unfortunately even that doesn't work):
.parent {
max-height: 40px;
display: flex;
flex-wrap: wrap;
width: 200px;
background-color: grey;
}
.long {
flex: 0 1 auto;
}
.short {
flex: 1 0 auto;
}
<div class="parent">
<span class="long">Some long long long long long really long text</span>
<span class="short">short text</span>
</div>