From c4672f09824fad6cbbed6610cad170121bd521c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8jberg?= Date: Thu, 24 Aug 2023 10:25:51 -0400 Subject: [PATCH] Adjust by-at date time --- src/UI/ByAt.elm | 2 +- src/css/ui/components/by-at.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/UI/ByAt.elm b/src/UI/ByAt.elm index 1d43c440..7f12e25f 100644 --- a/src/UI/ByAt.elm +++ b/src/UI/ByAt.elm @@ -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" ] ) ] diff --git a/src/css/ui/components/by-at.css b/src/css/ui/components/by-at.css index 07442b49..5dd8399c 100644 --- a/src/css/ui/components/by-at.css +++ b/src/css/ui/components/by-at.css @@ -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; +}