Skip to content

Commit

Permalink
Improve event heading
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejkorsan committed Mar 20, 2024
1 parent 623c125 commit 017a919
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ruby_event_store-browser/elm/src/Page/ShowEvent.elm
Original file line number Diff line number Diff line change
Expand Up @@ -265,22 +265,22 @@ showEvent baseUrl event maybeCausedEvents selectedTime =
[ class "space-y-4"
]
[ section [ class "space-y-1 pt-3" ]
[ header [ class "flex items-center gap-2 text-xs" ]
[ header [ class "flex items-center gap-1 text-xs" ]
[ FeatherIcons.clock
|> FeatherIcons.withClass "size-4 text-gray-400 hover:text-red-700"
|> FeatherIcons.withClass "size-3 text-gray-400"
|> FeatherIcons.toHtml []
, h2 [ class "text-gray-500 uppercase font-bold" ] [ text "Created at" ]
]
, div [ class "overflow-auto w-full text-sm font-bold font-mono pl-6" ] [ text (BrowserTime.format selectedTime event.createdAt) ]
, div [ class "overflow-auto w-full text-sm font-bold font-mono pl-4 text-gray-700 tracking-tight" ] [ text (BrowserTime.format selectedTime event.createdAt) ]
]
, section [ class "space-y-1" ]
[ header [ class "flex items-center gap-2 text-xs" ]
[ header [ class "flex items-center gap-1 text-xs" ]
[ FeatherIcons.clock
|> FeatherIcons.withClass "size-4 text-gray-400 hover:text-red-700"
|> FeatherIcons.withClass "size-3 text-gray-400"
|> FeatherIcons.toHtml []
, h2 [ class "text-gray-500 uppercase font-bold" ] [ text "Valid at" ]
]
, div [ class "overflow-auto w-full text-sm font-bold font-mono pl-6" ] [ text (BrowserTime.format selectedTime event.validAt) ]
, div [ class "overflow-auto w-full text-sm font-bold font-mono pl-4 text-gray-700 tracking-tight" ] [ text (BrowserTime.format selectedTime event.validAt) ]
]
]
]
Expand Down

0 comments on commit 017a919

Please sign in to comment.