Relative Content

Tag Archive for cssflexboxtailwind-css

nested flexbox with text truncation

I have a set of nested flexboxes, each with a flex-1 div on the left and a fixed width div on the right. I want the inner-most left div to take up available space and truncate its text if necessary.

flexbox problem (flex-col -> basis) with Tailwind

I don’t understand why my image change the height of my div, I’m in flex-col so basis change the height and not the width (in flex-row). So I have an height defined by my basis-28 but with my image whiwh is big the height change and become greater but I would like to not resizing my div I would like to reduce the height and so the dimensions of my image and not the opposite.