Reputation: 43569
I have:
<md-list-item>
<md-icon v-bind:style="{color: transcript.color}">account_circle</md-icon>
<div class="md-list-item-text">
<p>{{ transcript.text }}</p>
</div>
<md-button class="md-icon-button md-list-action">
<small>some stuff</small>
</md-button>
</md-list-item>
The problem is that transcript.text
can be longer than a line, so there's a text-overflow: ellipsis
set. I tried to add text-overflow: visible !important
as a scoped style, but that seems to be ignored.
So how can I have my text break normally and extend to multiple lines?
Upvotes: 2
Views: 2650
Reputation: 43569
.md-list-item-text p {
white-space: normal;
padding-bottom: 1rem;
}
That did it!
Upvotes: 2