-
Hi. Thank you for developing this great project! How can I put 3 or more lines of supporting text in Here is my html <md-list-item
headline="address"
supporting-text="long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long address"
multi-line-supporting-text> </md-list-item> |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Can you provide a reproduction? It appears correct here: https://lit.dev/playground/#gist=2a8ff2f2eb50f02df01ba0bd96b43e52 |
Beta Was this translation helpful? Give feedback.
-
Oh, by "2 lines" I mean "headline and 2 more lines." So I want to display headline and 3 more lines. In your resulting image the sentence is abbreviated with |
Beta Was this translation helpful? Give feedback.
Gotcha! That's outside of design's current spec for a list item unfortunately.
I'd recommend extending
ListItem
and overridingrender()
methods to customize it.From a design/CSS point, list items themselves are very simple. They're just two text styles and padding based on the content. We should encourage and help with building your own items when they don't fit the strict 1/2/3 line spec'd items.