Skip to content

Commit 1a592fd

Browse files
authored
fix(user-profile): fixed ellipsis not showing on xl profile (#523)
1 parent ef4eedb commit 1a592fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/features/profile/components/profile-information/profile-information.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ <h1>{{ currentUser()?.fullName }}</h1>
2121
</p>
2222
</div>
2323

24-
<div class="flex flex-column gap-4 xl:align-items-end">
25-
<div class="flex flex-column gap-3 md:flex-row xl:gap-4">
24+
<div class="flex flex-column gap-4 xl:align-items-end xl:flex-1 min-w-0">
25+
<div class="flex flex-column gap-3 md:flex-row xl:gap-4 w-full">
2626
@if (currentUser()?.social?.orcid) {
2727
<div class="flex flex-row align-items-center gap-2">
2828
<img ngSrc="assets/icons/colored/orcid.svg" width="16" height="16" alt="orcid" />
@@ -39,9 +39,9 @@ <h1>{{ currentUser()?.fullName }}</h1>
3939
</div>
4040

4141
@if (isEmploymentAndEducationVisible()) {
42-
<div class="flex flex-column gap-3 md:flex-row xl:gap-4 white-space-nowrap">
42+
<div class="flex flex-column gap-3 md:flex-row xl:gap-4 w-full">
4343
@if (currentUser()?.education?.length) {
44-
<div class="flex flex-row align-items-center gap-2 overflow-hidden">
44+
<div class="flex flex-row align-items-center gap-2 flex-1 min-w-0">
4545
<i class="fas fa-landmark"></i>
4646
<h3 class="font-bold text-overflow-ellipsis overflow-hidden white-space-nowrap">
4747
{{ currentUser()?.education?.[0]?.institution }}

0 commit comments

Comments
 (0)