mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed comment distance to 2 weeks
This commit is contained in:
parent
222f2dd1d0
commit
28441d7924
2 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ const Comment: FC<IProps> = memo(
|
||||||
return (
|
return (
|
||||||
<CommentContent
|
<CommentContent
|
||||||
prefix={
|
prefix={
|
||||||
Math.abs(group.distancesInDays[index]) > 7 && (
|
Math.abs(group.distancesInDays[index]) > 14 && (
|
||||||
<CommentDistance
|
<CommentDistance
|
||||||
firstDate={comment?.created_at ? parseISO(comment.created_at) : undefined}
|
firstDate={comment?.created_at ? parseISO(comment.created_at) : undefined}
|
||||||
secondDate={
|
secondDate={
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
.bar {
|
.bar {
|
||||||
font: $font_12_regular;
|
font: $font_12_regular;
|
||||||
color: darken(white, 70%);
|
color: darken(white, 60%);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0 0 2px;
|
padding: 2px 0 4px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue