Skip to content

Commit 30449e6

Browse files
committed
fix issue text overflow when user name is too long
1 parent 7546df6 commit 30449e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/uui-card-user/lib/uui-card-user.element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,14 @@ export class UUICardUserElement extends UUICardElement {
159159
position: relative;
160160
align-items: center;
161161
margin: 0 0 3px 0;
162+
height: 100%;
162163
}
163164
164165
#content > span {
165166
vertical-align: center;
166167
margin-top: 3px;
167168
font-weight: 700;
169+
overflow-wrap: anywhere;
168170
}
169171
170172
.avatar {

0 commit comments

Comments
 (0)