Skip to content

Commit c63ea6e

Browse files
committed
PROD-2799 #comment Fix details view UI issue in mobile
1 parent ea7b7d5 commit c63ea6e

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

src-ts/tools/work/work-detail-summary/WorkDetailHighlights/WorkDetailHighlights.module.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ $icon-size: calc($space-xxl * 2);
77
display: grid;
88
grid-template-columns: repeat(5, 1fr);
99
margin-bottom: $space-xxl;
10+
overflow: auto;
1011

1112
.highlight {
1213
display: flex;
1314
flex-direction: column;
1415
justify-content: flex-start;
1516
align-items: center;
1617
text-align: center;
17-
margin-right: calc($border-xs * -1);
18+
margin-right: 0;
1819
padding: $space-lg;
1920
border-left: $border-xs solid $black-10;
2021
border-right: $border-xs solid $black-10;

src-ts/tools/work/work-detail-summary/WorkDetailProgress/WorkDetailProgress.module.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
display: flex;
1616
justify-content: space-between;
1717
margin-top: calc($space-lg + $space-xxl);
18-
margin-left: calc($space-xxxxl - $border);
1918
}
2019
}

src-ts/tools/work/work-detail-summary/WorkDetailProgress/WorkDetailProgressItem/WorkDetailProgressItem.module.scss

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@ $dot-size: calc($space-lg + $space-xxl);
44

55
.progress-bar-list-item {
66
position: relative;
7-
width: 25%;
7+
flex: 1;
8+
display: flex;
9+
flex-direction: column;
10+
align-items: center;
811

912
&:last-child {
10-
width: auto;
13+
flex: 1;
1114
}
1215

1316
.label {
1417
display: block;
1518
margin-top: $space-sm;
1619
margin-left: calc(-1 * calc($dot-size + 3px));
17-
width: calc(4 * $space-xxxxl);
20+
width: auto;
1821
text-align: center;
1922
color: $black-60;
23+
margin: 0;
2024

2125
span {
2226
display: block;
@@ -40,17 +44,19 @@ $dot-size: calc($space-lg + $space-xxl);
4044
border-radius: 50%;
4145
box-sizing: border-box;
4246
color: $black-60;
47+
z-index: 10;
4348
}
4449

4550
&:not(:last-child):after {
4651
content: '';
4752
display: block;
4853
position: absolute;
4954
top: $space-lg;
50-
left: $dot-size;
55+
left: 54%;
5156
width: 100%;
5257
height: $space-sm;
5358
@extend .bg-black-20;
59+
z-index: 1;
5460
}
5561

5662
&.active {

0 commit comments

Comments
 (0)