Give the parent div a vertical flex display setting with a left alignment (flex start).
Edit: Or give the element itself an inline-block display setting if its parent isn’t using flex.
Give the parent div a vertical flex display setting with a left alignment (flex start).
Edit: Or give the element itself an inline-block display setting if its parent isn’t using flex.