Skip to content

Commit

Permalink
Fix: left border correctly works in Safari (#1456)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon <simon@aam-digital.com>
  • Loading branch information
Schottkyc137 and TheSlimvReal authored Sep 23, 2022
1 parent d1f9de3 commit 7111dce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<th scope="col">Title</th>
</tr>
<ng-container matColumnDef="date">
<td *matCellDef="let note">
<td *matCellDef="let note" class="date-cell">
{{ note.date | date }}
</td>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,27 @@
text-align: right;
}

.row-view {
cursor: pointer;
.date-cell {
position: relative;

&::before {
left: 0;
top: 0;
content: '';
display: block;
width: 8px;
width: $standard-margin-small;
height: 100%;
position: absolute;
background-color: var(--important-notes-bg-color);
}
}

.row-view {
cursor: pointer;
position: relative;

& > td:first-child {
padding-left: $standard-margin-small + 4;
padding-left: 2 * $standard-margin-small;
}

& > td:last-child {
Expand Down

0 comments on commit 7111dce

Please sign in to comment.