Skip to content

Commit

Permalink
Issue #596: Addressing review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KattisLej committed Sep 12, 2022
1 parent ffc66aa commit 0715544
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -892,17 +892,12 @@ tr:last-of-type td {
justify-content: space-evenly;
}

.pencil-icon {
width: 1.25rem;
}

.trash-icon {
.table-icon {
width: 1.25rem;
}

.trash-button {
border: none;
display: flex;
background: none;
cursor: pointer;
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/AbsencePlanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export const AbsencePlanner = () => {
<td>{formatDate(element.startDate, dateFormat)}</td>
<td>{formatDate(element.endDate, dateFormat)}</td>
<td>
<img src={pencil} className="pencil-icon" alt="pencil to edit" />
<img src={pencil} className="table-icon" alt="pencil to edit" />
</td>
<td>
<button
Expand All @@ -577,7 +577,7 @@ export const AbsencePlanner = () => {
>
<img
src={trash}
className="trash-icon"
className="table-icon"
alt="trash icon to delete"
/>
</button>
Expand Down

0 comments on commit 0715544

Please sign in to comment.