@@ -79,7 +79,7 @@ export function ScheduleSessionCard({
7979 // eslint-disable-next-line tailwindcss/no-contradicting-classname
8080 className = { clsx (
8181 "[--bg:hsl(var(--color-neu-0))] [&:has(>a:hover)]:[--bg:hsl(var(--color-neu-0)/.9)] dark:[&:has(>a:hover)]:[--bg:hsl(var(--color-neu-0)/.8)]" ,
82- "group relative size-full p-4 font-normal no-underline ring-neu-400 focus-visible:z-[1] dark:ring-neu-100 [&:has(>a:hover)]:ring-1" ,
82+ "group relative size-full p-4 font-normal no-underline ring-neu-400 @container focus-visible:z-[1] dark:ring-neu-100 [&:has(>a:hover)]:ring-1" ,
8383 blockTimeFraction < 1 && "[--bg:hsl(var(--color-neu-0)/50)]" ,
8484 ) }
8585 style = {
@@ -133,12 +133,12 @@ export function ScheduleSessionCard({
133133 ) }
134134 < span className = "mt-4 flex items-center gap-2 xl:mt-6" >
135135 < span className = "typography-body-xs flex items-center gap-0.5" >
136- < PinIcon className = "size-4 text-pri-base" />
136+ < PinIcon className = "size-4 text-pri-base [@container(width<240px)]:hidden " />
137137 { session . venue }
138138 </ span >
139139 { blockTimeFraction < 1 && (
140140 < span className = "typography-body-xs flex items-center gap-0.5" >
141- < ClockIcon className = "size-4 text-pri-base" />
141+ < ClockIcon className = "size-4 text-pri-base [@container(width<240px)]:hidden " />
142142 { Math . round (
143143 ( new Date ( session . event_end ) . getTime ( ) -
144144 new Date ( session . event_start ) . getTime ( ) ) /
@@ -151,7 +151,7 @@ export function ScheduleSessionCard({
151151 eventTitle = { eventTitle }
152152 session = { session }
153153 speakers = { session . speakers || [ ] }
154- className = "ml-auto"
154+ className = "ml-auto [&_[data-text]]:hidden @[300px]:[&_[data-text]]:inline "
155155 />
156156 </ span >
157157 </ span >
@@ -204,7 +204,9 @@ function AddToCalendarLink({
204204 ) }
205205 >
206206 < CalendarIcon className = "size-4 shrink-0 text-pri-base" />
207- < span className = "typography-body-xs" > Add to calendar</ span >
207+ < span data-text className = "typography-body-xs" >
208+ Add to calendar
209+ </ span >
208210 </ MenuButton >
209211 </ div >
210212 < Transition
0 commit comments