@@ -79,7 +79,7 @@ export function ScheduleSessionCard({
79
79
// eslint-disable-next-line tailwindcss/no-contradicting-classname
80
80
className = { clsx (
81
81
"[--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" ,
83
83
blockTimeFraction < 1 && "[--bg:hsl(var(--color-neu-0)/50)]" ,
84
84
) }
85
85
style = {
@@ -133,12 +133,12 @@ export function ScheduleSessionCard({
133
133
) }
134
134
< span className = "mt-4 flex items-center gap-2 xl:mt-6" >
135
135
< 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 " />
137
137
{ session . venue }
138
138
</ span >
139
139
{ blockTimeFraction < 1 && (
140
140
< 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 " />
142
142
{ Math . round (
143
143
( new Date ( session . event_end ) . getTime ( ) -
144
144
new Date ( session . event_start ) . getTime ( ) ) /
@@ -151,7 +151,7 @@ export function ScheduleSessionCard({
151
151
eventTitle = { eventTitle }
152
152
session = { session }
153
153
speakers = { session . speakers || [ ] }
154
- className = "ml-auto"
154
+ className = "ml-auto [&_[data-text]]:hidden @[300px]:[&_[data-text]]:inline "
155
155
/>
156
156
</ span >
157
157
</ span >
@@ -204,7 +204,9 @@ function AddToCalendarLink({
204
204
) }
205
205
>
206
206
< 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 >
208
210
</ MenuButton >
209
211
</ div >
210
212
< Transition
0 commit comments