Skip to content

Commit 4dde978

Browse files
committed
styles for description
1 parent fbdc38f commit 4dde978

4 files changed

Lines changed: 11 additions & 14 deletions

File tree

projects/social_platform/src/app/office/profile/detail/main/main.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@
277277
overflow: hidden;
278278
color: var(--black);
279279
text-overflow: ellipsis;
280+
word-break: break-word;
281+
transition: all 0.7s ease-in-out;
280282
-webkit-box-orient: vertical;
281283
-webkit-line-clamp: 5;
282-
transition: all 0.7s ease-in-out;
283-
word-break: break-word;
284284

285285
&.expanded {
286286
-webkit-line-clamp: unset;

projects/social_platform/src/app/office/projects/detail/info/info.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,13 @@
286286
p {
287287
display: -webkit-box;
288288
overflow: hidden;
289+
line-height: 1.5;
289290
color: var(--black);
290291
text-overflow: ellipsis;
292+
word-break: break-word;
293+
transition: all 0.7s ease-in-out;
291294
-webkit-box-orient: vertical;
292295
-webkit-line-clamp: 5;
293-
transition: all 0.7s ease-in-out;
294-
line-height: 1.5;
295-
word-break: break-word;
296296

297297
&.expanded {
298298
display: block;

projects/social_platform/src/app/office/projects/detail/shared/project-direction-card/project-direction-card.component.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
}
7373

7474
&__title {
75+
hyphens: auto;
7576
color: var(--accent);
7677
text-align: center;
7778
word-break: break-word;
7879
overflow-wrap: break-word;
79-
hyphens: auto;
8080
}
8181

8282
&__icon {
@@ -156,11 +156,11 @@
156156
flex-direction: column;
157157
gap: 2px;
158158
padding: 12px;
159-
border: 0.5px solid var(--medium-grey-for-outline);
160-
border-radius: var(--rounded-lg);
161159
word-break: break-word;
162160
overflow-wrap: break-word;
163161
white-space: pre-wrap;
162+
border: 0.5px solid var(--medium-grey-for-outline);
163+
border-radius: var(--rounded-lg);
164164
}
165165
}
166166

@@ -220,15 +220,13 @@
220220
}
221221

222222
p {
223-
224223
color: var(--accent);
225224
}
226225
}
227226

228227
&__title {
229228
margin-bottom: 8px;
230229

231-
232230
&--partner {
233231
color: var(--green-dark);
234232
}

projects/social_platform/src/app/office/projects/detail/shared/project-vacancy-card/project-vacancy-card.component.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@
4040
}
4141

4242
&__description {
43-
margin: 8px 0;
4443
min-width: 0;
45-
44+
margin: 8px 0;
4645
}
4746

4847
&__actions {
@@ -85,10 +84,10 @@
8584
overflow: hidden;
8685
color: var(--black);
8786
text-overflow: ellipsis;
87+
word-break: break-word;
88+
transition: all 0.7s ease-in-out;
8889
-webkit-box-orient: vertical;
8990
-webkit-line-clamp: 5;
90-
transition: all 0.7s ease-in-out;
91-
word-break: break-word;
9291

9392
&.expanded {
9493
-webkit-line-clamp: unset;

0 commit comments

Comments
 (0)