File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -308,9 +308,14 @@ defmodule AlgoraWeb.ContractLive do
308308 </ . card_content >
309309 </ . card >
310310 < . card :if = { length ( @ transactions ) > 0 } >
311- < . card_content >
312- < div class = "-mx-6 overflow-x-auto " >
313- < div class = "inline-block min-w-full py-2 align-middle " >
311+ < . card_header >
312+ < . card_title >
313+ Timeline
314+ </ . card_title >
315+ </ . card_header >
316+ < . card_content class = "pt-0 " >
317+ < div class = "-mx-6 -mt-3.5 overflow-x-auto " >
318+ < div class = "inline-block min-w-full align-middle " >
314319 < table class = "min-w-full divide-y divide-border " >
315320 < thead >
316321 < tr >
@@ -327,7 +332,14 @@ defmodule AlgoraWeb.ContractLive do
327332 <%= for transaction <- @ transactions do %>
328333 < tr class = "hover:bg-muted/50 " >
329334 < td class = "whitespace-nowrap px-6 py-4 text-sm " >
330- { Util . timestamp ( transaction . inserted_at , @ timezone ) }
335+ < div :if = { @ timezone } >
336+ { Util . timestamp ( transaction . inserted_at , @ timezone ) }
337+ </ div >
338+ < div
339+ :if = { ! @ timezone }
340+ class = "h-[24px] w-[132px] bg-muted animate-pulse rounded-lg "
341+ >
342+ </ div >
331343 </ td >
332344 < td class = "whitespace-nowrap px-6 py-4 text-sm " >
333345 { description ( transaction ) }
You can’t perform that action at this time.
0 commit comments