Skip to content

Commit 6c96773

Browse files
Merge pull request #4884 from OneCommunityGlobal/ShreyaP-WBS-EditButton-Center
Shreya P - 🔥 Center WBS Edit button in Action column
2 parents f1aef73 + 6b53e7f commit 6c96773

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/components/Projects/WBS/WBSDetail/Task/Task.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function Task(props) {
187187
className={`tag_color tag_color_${props.num?.length > 0 ? props.num.split('.')[0] : props.num
188188
} tag_color_lv_${props.level}`}
189189
></td>
190-
<td>
190+
<td className={styles.centerAction}>
191191
<Button
192192
color="primary"
193193
size="sm"

src/components/Projects/WBS/WBSDetail/Task/task.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
cursor: pointer;
1414
}
1515

16+
.centerAction {
17+
display: flex;
18+
justify-content: center;
19+
align-items: center;
20+
}
21+
1622
.disableDiv {
1723
pointer-events: none;
1824
}

0 commit comments

Comments
 (0)