@@ -74,7 +74,7 @@ export function EventCard({
7474 < a
7575 href = { href }
7676 className = { clsx (
77- "gql-focus-visible group flex min-h-[214px] min-w-[260px] flex-col overflow-hidden border border-neu-200 text-left text-current no-underline ring-neu-400 hover:ring-1 hover:ring-offset-1 hover:ring-offset-neu-0 dark:border-neu-50 dark:ring-neu-100 xs:min-w-[352px]" ,
77+ "gql-focus-visible group flex min-h-[214px] min-w-[260px] flex-col overflow-hidden border border-neu-200 text-left text-current no-underline ring-neu-400 hover:ring-1 hover:ring-offset-1 hover:ring-offset-neu-0 dark:border-neu-50 dark:ring-neu-100 xs:min-w-[352px] lg:w-[408px] " ,
7878 "[--bg-opacity:0.05] hover:[--bg-opacity:0.07] dark:[--bg-opacity:0.03] hover:dark:[--bg-opacity:0.06]" ,
7979
8080 "z-[4]" ,
@@ -99,7 +99,16 @@ export function EventCard({
9999 >
100100 < Tag color = { eventTagColors [ kind ] } > { kind } </ Tag >
101101 { meta ? (
102- < span className = "typography-body-md" > { meta } </ span >
102+ < span
103+ className = { clsx (
104+ String ( meta ) . length < 22
105+ ? "typography-body-md"
106+ : "typography-body-sm" ,
107+ "overflow-hidden text-ellipsis whitespace-pre" ,
108+ ) }
109+ >
110+ { meta }
111+ </ span >
103112 ) : (
104113 < span className = "sr-only" > Official GraphQL Local</ span >
105114 ) }
@@ -121,7 +130,15 @@ export function EventCard({
121130 < div className = "typography-body-sm flex items-center gap-1 px-2 py-1.5 text-neu-800 dark:text-neu-600 xs:gap-1.5 xs:px-4 xs:py-2.5" >
122131 < CalendarIcon className = "size-4 shrink-0 translate-y-[-.5px] text-neu-800 dark:text-neu-500 xs:size-5" />
123132 { parsedDate ? (
124- < time dateTime = { parsedDate . toISOString ( ) } > { dateLabel } </ time >
133+ < time dateTime = { parsedDate . toISOString ( ) } >
134+ { kind === "working-group"
135+ ? parsedDate . toLocaleString ( undefined , {
136+ dateStyle : "medium" ,
137+ timeStyle : "short" ,
138+ hour12 : false ,
139+ } )
140+ : dateLabel }
141+ </ time >
125142 ) : (
126143 < span > { dateLabel } </ span >
127144 ) }
0 commit comments