Skip to content

Commit 08a010f

Browse files
authored
Merge pull request #254 from PROCOLLAB-github/info-card-fix
Info card fix
2 parents a84bfe5 + c8bef4d commit 08a010f

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

projects/social_platform/src/app/office/features/info-card/info-card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<p class="text-body-12 card__name">{{ info?.lastName | truncate: 10 }}</p>
9191
@if (info?.speciality) {
9292
<p class="text-body-6 card__additional-info">
93-
{{ info?.speciality }}
93+
{{ info?.speciality | truncate: 20 }}
9494
@if (info?.speciality && info?.birthday) { • } @if (info?.birthday) {
9595
{{ info?.birthday! | yearsFromBirthday }}
9696
}

projects/social_platform/src/app/office/features/info-card/info-card.component.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
display: flex;
99
flex-direction: column;
1010
width: 156px;
11-
height: 170px;
11+
height: 180px;
1212
padding: 15px 0 12px;
1313
background-color: var(--light-white);
1414
border: 0.5px solid var(--medium-grey-for-outline);
@@ -101,7 +101,7 @@
101101
flex-direction: column;
102102
align-items: center;
103103
justify-content: flex-start;
104-
padding-top: 40px;
104+
padding-top: 30px;
105105
overflow: hidden;
106106
text-align: center;
107107

@@ -142,7 +142,7 @@
142142
flex: 1;
143143
flex-direction: column;
144144
align-items: center;
145-
width: 120px;
145+
width: 100px;
146146
overflow: hidden;
147147
color: var(--dark-grey);
148148
text-align: center;
@@ -218,10 +218,15 @@
218218
&__skills {
219219
display: flex;
220220
flex-flow: wrap;
221+
flex-grow: 1;
221222
gap: 2px;
222223
justify-content: center;
223224
margin-bottom: 9px;
224225
}
226+
227+
&__skill {
228+
width: 100px;
229+
}
225230
}
226231

227232
.message-modal {

projects/social_platform/src/app/office/profile/edit/edit.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ <h1 class="profile__title">редактирование профиля</h1>
628628
<div class="profile__column">
629629
@if (profileForm.get("descriptionWork"); as descriptionWork) {
630630
<fieldset>
631-
<label for="descriptionWork" class="field-label">Краткое описание</label>
631+
<label for="descriptionWork" class="field-label">краткое описание</label>
632632
<app-textarea
633633
size="big"
634634
id="descriptionWork"

projects/social_platform/src/app/ui/components/tag/tag.component.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.tag {
44
display: flex;
55
align-items: center;
6+
justify-content: center;
7+
width: 100%;
68
max-width: 300px;
79
padding: 2px 20px;
810
overflow: hidden;

0 commit comments

Comments
 (0)