@@ -38,6 +38,12 @@ const StyledPresentationImage = styled(Common.Components.FallbackImage)(({ theme
3838 } ,
3939} ) ) ;
4040
41+ const HeaderTableCell = styled ( TableCell ) ( {
42+ width : "1%" ,
43+ whiteSpace : "nowrap" ,
44+ textAlign : "center" ,
45+ } ) ;
46+
4147const DescriptionBox = styled ( Box ) ( ( { theme } ) => ( {
4248 width : "100%" ,
4349 padding : theme . spacing ( 2 , 4 ) ,
@@ -205,9 +211,9 @@ export const PresentationDetailPage: React.FC = ErrorBoundary.with(
205211 ? Object . entries ( scheduleMap ) . map ( ( [ datetime , rooms ] , index ) => (
206212 < TableRow key = { datetime } >
207213 { index === 0 && (
208- < TableCell rowSpan = { Object . keys ( scheduleMap ) . length } sx = { { width : "1%" , whiteSpace : "nowrap" } } >
214+ < HeaderTableCell rowSpan = { Object . keys ( scheduleMap ) . length } >
209215 < Typography variant = "subtitle1" fontWeight = "bold" children = { datetimeLabel } />
210- </ TableCell >
216+ </ HeaderTableCell >
211217 ) }
212218 < TableCell >
213219 < Stack direction = "row" justifyContent = "flex-start" alignItems = "center" sx = { { width : "100%" , flexWrap : "wrap" , gap : 1 } } >
@@ -224,7 +230,7 @@ export const PresentationDetailPage: React.FC = ErrorBoundary.with(
224230 : null }
225231 { presentation . categories . length ? (
226232 < TableRow >
227- < TableCell children = { < Typography variant = "subtitle1" fontWeight = "bold" children = { categoriesStr } /> } />
233+ < HeaderTableCell children = { < Typography variant = "subtitle1" fontWeight = "bold" children = { categoriesStr } /> } />
228234 < TableCell >
229235 < Stack direction = "row" spacing = { 1 } sx = { { width : "100%" } } >
230236 { presentation . categories . map ( ( c ) => (
@@ -236,8 +242,10 @@ export const PresentationDetailPage: React.FC = ErrorBoundary.with(
236242 ) : null }
237243 { R . isString ( presentation . public_slideshow_file ) ? (
238244 < TableRow >
239- < TableCell children = { < Typography variant = "subtitle1" fontWeight = "bold" children = { slideShowStr } /> } />
240- < TableCell children = { < Common . Components . LinkHandler href = { presentation . public_slideshow_file } children = { slideShowLinkStr } /> } />
245+ < HeaderTableCell children = { < Typography variant = "subtitle1" fontWeight = "bold" children = { slideShowStr } /> } />
246+ < TableCell sx = { ( theme ) => ( { color : theme . palette . primary . main , textDecoration : "underline" } ) } >
247+ < Common . Components . LinkHandler href = { presentation . public_slideshow_file } children = { slideShowLinkStr } />
248+ </ TableCell >
241249 </ TableRow >
242250 ) : null }
243251 </ TableBody >
0 commit comments