-
Notifications
You must be signed in to change notification settings - Fork 190
Open
Labels
Priority: HighShould be addressed within current iterationShould be addressed within current iterationTier: SitesWG: ValidatedValidate working group proposalsValidate working group proposals
Description
Component/pattern to amend
Basic Section - list block
Context: canonical/canonical.com#2096 (comment)
Behavior to amend
The lists generated by Basic Section cannot apply the text max width utility unless u-text-max-width is wrapped around the entire basic section pattern (which applies the utility at a higher level than we should be applying it). This means users don't have an easy or idiomatic way to apply the utility to lists generated by the pattern.
We should decide:
- If the text max width utility should be the default behavior of lists generated by the pattern. If yes, it can be added as a class here. This is a Design Question.
- If it should not be default behavior, whether we should expose a
attrsfield for the list block and allow the user to pass arbitrary attrs (such asclass), or simply expose a namedis_max_widthattr. This depends on whether we see text max width being a frequent use case or not - if it is frequent, we should expose it intentionally to make consumption easier. This is a Design and Engineering Question.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority: HighShould be addressed within current iterationShould be addressed within current iterationTier: SitesWG: ValidatedValidate working group proposalsValidate working group proposals