Skip to content

Commit a2b5193

Browse files
committed
fix(user-profile): fixed ellipsis not showing on xl profile
1 parent bdae4ce commit a2b5193

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prepare": "husky",
2121
"start": "ng serve",
2222
"start:docker": "npm run check:config && ng serve --host 0.0.0.0 --port 4200 --poll 2000 --configuration development",
23-
"start:docker:local": "npm run check:config && ng serve --host 0.0.0.0 --port 4200 --poll 2000 --configuration docker",
23+
"start:docker:local": "ng serve --host 0.0.0.0 --port 4200 --poll 2000 --configuration docker",
2424
"start:test": "ng serve --configuration test-osf",
2525
"start:test:future": "ng serve --configuration test",
2626
"test": "jest",

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)