Skip to content

Commit

Permalink
Include date-time.css
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Dec 22, 2023
1 parent 1f2de97 commit d2d14d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/DateTime.elm
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ view : DateTimeFormat -> Time.Zone -> DateTime -> Html msg
view format zone d =
let
viewed =
span [ class "datetime" ] [ text (toString format zone d) ]
span [ class "date-time" ] [ text (toString format zone d) ]
in
case format of
DistanceFrom _ ->
Expand Down
1 change: 1 addition & 0 deletions src/css/ui/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
@import "./components/empty-state-card.css";
@import "./components/tab-list.css";
@import "./components/external-link-icon.css";
@import "./components/date-time.css";
3 changes: 3 additions & 0 deletions src/css/ui/components/date-time.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.date-time {
position: relative;
}

0 comments on commit d2d14d6

Please sign in to comment.