Skip to content

Commit 2b37d22

Browse files
Merge pull request #4980 from OneCommunityGlobal/Diya_Fix_TaskUI
Diya fix(UI): Fixed Task Page UI
2 parents 84e8526 + 8ea0ec8 commit 2b37d22

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

src/components/Projects/WBS/SingleTask/SingleTask.jsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -94,64 +94,64 @@ function SingleTask(props) {
9494
<table className={`table table-bordered ${darkMode ? 'dark-mode text-light' : ''}`}>
9595
<thead className={darkMode ? 'bg-space-cadet' : ''}>
9696
<tr>
97-
<th scope="col" data-tip="Action" colSpan="1">
97+
<th scope="col" data-tip="Action" colSpan="1" style={{ textAlign: 'center' }}>
9898
Action
9999
</th>
100-
<th scope="col" data-tip="task-num" colSpan="1">
100+
<th scope="col" data-tip="task-num" colSpan="1" style={{ textAlign: 'center' }}>
101101
#
102102
</th>
103-
<th scope="col" data-tip="Task Name" style={{ minWidth: '200px' }}>
103+
<th scope="col" data-tip="Task Name" style={{ minWidth: '200px' }} >
104104
Task Name
105105
</th>
106-
<th scope="col" data-tip="Priority">
106+
<th scope="col" data-tip="Priority" style={{ textAlign: 'center' }}>
107107
<i className="fa fa-star" aria-hidden="true" />
108108
</th>
109-
<th scope="col" data-tip="Resources">
109+
<th scope="col" data-tip="Resources" style={{ textAlign: 'center' }}>
110110
<i className="fa fa-users" aria-hidden="true" />
111111
</th>
112-
<th scope="col" data-tip="Assigned">
112+
<th scope="col" data-tip="Assigned" style={{ textAlign: 'center' }}>
113113
<i className="fa fa-user-circle-o" aria-hidden="true" />
114114
</th>
115-
<th scope="col" data-tip="Status">
115+
<th scope="col" data-tip="Status" style={{ textAlign: 'center' }}>
116116
<i className="fa fa-tasks" aria-hidden="true" />
117117
</th>
118-
<th scope="col" data-tip="Hours-Best">
118+
<th scope="col" data-tip="Hours-Best" style={{ textAlign: 'center' }}>
119119
<i className="fa fa-hourglass-start" aria-hidden="true" />
120120
</th>
121-
<th scope="col" data-tip="Hours-Worst">
121+
<th scope="col" data-tip="Hours-Worst" style={{ textAlign: 'center' }}>
122122
<i className="fa fa-hourglass" aria-hidden="true" />
123123
</th>
124-
<th scope="col" data-tip="Hours-Most">
124+
<th scope="col" data-tip="Hours-Most" style={{ textAlign: 'center' }}>
125125
<i className="fa fa-hourglass-half" aria-hidden="true" />
126126
</th>
127-
<th scope="col" data-tip="Estimated Hours">
127+
<th scope="col" data-tip="Estimated Hours" style={{ textAlign: 'center' }}>
128128
<i className="fa fa-clock-o" aria-hidden="true" />
129129
</th>
130-
<th scope="col" data-tip="Hours-Logged">
130+
<th scope="col" data-tip="Hours-Logged" style={{ textAlign: 'center' }}>
131131
<i className="fa fa-hourglass-end" aria-hidden="true" />
132132
</th>
133-
<th scope="col" data-tip="Start Date">
133+
<th scope="col" data-tip="Start Date" style={{ textAlign: 'center' }}>
134134
<i className="fa fa-calendar-check-o" aria-hidden="true" />
135135
{' '}
136136
Start
137137
</th>
138-
<th scope="col" data-tip="Due Date">
138+
<th scope="col" data-tip="Due Date" style={{ textAlign: 'center' }}>
139139
<i className="fa fa-calendar-times-o" aria-hidden="true" />
140140
{' '}
141141
End
142142
</th>
143-
<th scope="col" data-tip="Links">
143+
<th scope="col" data-tip="Links" style={{ textAlign: 'center' }}>
144144
<i className="fa fa-link" aria-hidden="true" />
145145
</th>
146-
<th scope="col" data-tip="Details">
146+
<th scope="col" data-tip="Details" style={{ textAlign: 'center' }}>
147147
<i className="fa fa-question" aria-hidden="true" />
148148
</th>
149149
</tr>
150150
</thead>
151151
<tbody className={darkMode ? 'bg-yinmn-blue' : ''}>
152152
<tr>
153153
<th scope="row">
154-
<div className="d-flex flex-column align-items-start">
154+
<div className="d-flex flex-column align-items-center">
155155
<EditTaskModal
156156
key={`editTask_${task._id}`}
157157
parentNum={task.num}
@@ -188,7 +188,7 @@ function SingleTask(props) {
188188
)}
189189
</div>
190190
</th>
191-
<th scope="row">{task.num}</th>
191+
<th scope="row" style={{ textAlign: 'center', verticalAlign: 'middle' }}>{task.num}</th>
192192
<td>{task.taskName}</td>
193193
<td>{task.priority}</td>
194194
<td>

0 commit comments

Comments
 (0)