We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30449e6 commit aec5ef1Copy full SHA for aec5ef1
packages/uui-card-user/lib/uui-card-user.element.ts
@@ -76,7 +76,7 @@ export class UUICardUserElement extends UUICardElement {
76
name="avatar"
77
class="avatar"
78
@slotchange=${this._avatarSlotChanged}></slot>
79
- <span>${this.name}</span>
+ <span title="${this.name}">${this.name}</span>
80
<slot></slot>
81
</div>`;
82
}
@@ -163,6 +163,11 @@ export class UUICardUserElement extends UUICardElement {
163
164
165
#content > span {
166
+ display: -webkit-box;
167
+ -webkit-line-clamp: 2;
168
+ -webkit-box-orient: vertical;
169
+ overflow: hidden;
170
+ text-overflow: ellipsis;
171
vertical-align: center;
172
margin-top: 3px;
173
font-weight: 700;
0 commit comments