Skip to content

Commit

Permalink
Adjust by-at date time
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Aug 24, 2023
1 parent 550146d commit c4672f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/ByAt.elm
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ view (ByAt by at) =
Keyed.node "div"
[ class "by-at" ]
[ by_
, ( DateTime.toISO8601 at, span [] [ DateTime.view DateTime.Distance at, text " ago" ] )
, ( DateTime.toISO8601 at, span [ class "by-at_at" ] [ DateTime.view DateTime.Distance at, text " ago" ] )
]
5 changes: 5 additions & 0 deletions src/css/ui/components/by-at.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@
.by-at .profile-snippet {
--color_profile-snippet_text: var(--u-color_text_subdued);
}

.by-at .by-at_at {
/* Total hack, not sure why its 1px of..*/
padding-top: 1px;
}

0 comments on commit c4672f0

Please sign in to comment.