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

**URL:** <https://forum.bricksbuilder.io/t/no-bug-icon-list-element-text-breaking-to-next-line/19239>\
**Category:** Bugs\
**Tags:** v1-9-4\
**Created:** [January 25, 2024, 6:54pm UTC](https://forum.bricksbuilder.io/t/no-bug-icon-list-element-text-breaking-to-next-line/19239 "2024-01-25T18:54:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abey](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@abey](https://forum.bricksbuilder.io/u/abey)\
**Post date:** [January 25, 2024, 6:54pm UTC](https://forum.bricksbuilder.io/t/no-bug-icon-list-element-text-breaking-to-next-line/19239/1 "2024-01-25T18:54:49Z")

</div>

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

 ![image](https://forum.bricksbuilder.io/uploads/default/original/3X/4/7/47e4338c3a951a60be52286a53c66fb405cf9ec2.png)

AFTER EDITING THE WIDTH

 ![image](https://forum.bricksbuilder.io/uploads/default/original/3X/2/4/24bf02f945e40baf72a9504784975cfda1f64217.png)

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [January 30, 2024, 10:37am UTC](https://forum.bricksbuilder.io/t/no-bug-icon-list-element-text-breaking-to-next-line/19239/2 "2024-01-30T10:37:59Z")

</div>

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

```auto
%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
