Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit b6881f5

Browse files
committed
Prevented wrapping of team name, payment status and start/end dates.
1 parent 2f24a70 commit b6881f5

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

src/routes/WorkPeriods/components/PaymentStatus/styles.module.scss

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
font-size: 12px;
88
line-height: 16px;
99
letter-spacing: 0.5px;
10+
white-space: nowrap;
1011
border-radius: 5px;
1112
background: #aaa;
1213
color: #fff;

src/routes/WorkPeriods/components/PeriodItem/index.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ const PeriodItem = ({ isSelected, item, onToggle, onWorkingDaysChange }) => {
5252
</a>
5353
</span>
5454
</td>
55-
<td>{item.projectId}</td>
56-
<td>{item.startDate}</td>
57-
<td>{item.endDate}</td>
55+
<td className={styles.teamName}>{item.projectId}</td>
56+
<td className={styles.startDate}>{item.startDate}</td>
57+
<td className={styles.endDate}>{item.endDate}</td>
5858
<td>{currencyFormatter.format(item.weeklyRate)}</td>
5959
<td>
6060
<PaymentStatus status={item.paymentStatus} />

src/routes/WorkPeriods/components/PeriodItem/styles.module.scss

+7-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ td.toggle {
3333
}
3434
}
3535

36-
.teamName {
36+
td.teamName {
3737
@include roboto-medium;
38+
white-space: nowrap;
39+
}
40+
41+
td.startDate,
42+
td.endDate {
43+
white-space: nowrap;
3844
}
3945

4046
td.workingDays {

0 commit comments

Comments
 (0)