NO BUG: Icon List Element - text breaking to next line

Hi,

I used the Icon List Element, I have two lists, the one with long text breaks. When I set style width to bigger width, it won’t break.

However, the desired style is to have the wrapper fit the text.

WITHOUT EDITING THE WIDTH

AFTER EDITING THE WIDTH

Hi Abey,
As far as I understand the report correctly, the only thing you need to add is this:

%root% {
  /* Expands the ul to take up the available space */
  width: 100%;
}

%root% li.has-link a, %root% li.no-link {
	flex-basis: auto;
}

Since the defaults are working as expected, I wouldn’t claim this as a bug.

Best regards,
timmse

1 Like