notification date formatting

This commit is contained in:
realaravinth
2021-07-14 21:38:03 +05:30
parent 69de0aaeef
commit 883aa122b2
4 changed files with 114 additions and 20 deletions

View File

@@ -22,8 +22,8 @@ include!("../navbar/index.html"); .>
<p class="notification__item-text"><.= notification.message .></p>
<div class="notification-data__container">
<span class="notification__sender"><.= notification.name .></span>
<span>.</span>
<span class="notification__received"><.= notification.received .></span>
<span>&#183;</span>
<span class="notification__received"><.= notification.print_date() .></span>
</div>
</td>

View File

@@ -20,12 +20,12 @@
.notification__table {
background-color: $white;
width: 90%;
padding: 0 10px;
}
.notification__title-text {
padding-left: 10px;
font-size: 1rem;
padding: 0.75rem 1.25rem;
padding: 0.75rem 0.5rem;
box-sizing: border-box;
text-align: left;
width: 100%;