I have the following problem. I need a specific height for my menu (so that there are no more than 5 items in a column). For this purpose, I used the flex-wrap: wrap property and flex-direction: column. It works fine in all browsers, but Mozilla Firefox stretches the block to the width of the first column.
I'm tired of experimenting; I've tried adding prefixes, setting min-width and min-height - nothing helps. Has anyone encountered something similar?
attaching a picture