Apply 100% width after scaling
I have an element that needs to be scaled to 0.9, this element also needs to occupy the 100% of available space. But these two settings seems to go in conflict. See attached pics. The elemnt is inside a
flex
container and has a flex-grow: 2
property

1 Reply
So what happens here is that the element, despite occupying 100% of the width on paper, is actually smaller