vanilla-framework icon indicating copy to clipboard operation
vanilla-framework copied to clipboard

Default fixed max-width on ul/ol

Open bethcollins92 opened this issue 3 years ago • 2 comments

Pattern to amend

  • ul/ol
  • See Lyubo's comment about adding the $text-max-width as default to lists
  • Can we try and see if anything breaks setting the max width on lists as default? This will ensure the text in lists always wraps the same as paragraphs but could potentially break lists containing other elements e.g nav and footer

bethcollins92 avatar Nov 30 '21 09:11 bethcollins92

@bethcollins92 this one needs an estimate.

anthonydillon avatar Dec 01 '21 09:12 anthonydillon

This needs to be discussed again after the release of Vanilla 3.0 so put this issue in icebox

bethcollins92 avatar Dec 01 '21 12:12 bethcollins92

hey @bethcollins92 :)

In the meantime this has been fixed by new utility: https://vanillaframework.io/docs/utilities/text-max-width

bartaz avatar Nov 17 '23 15:11 bartaz