File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 88 textColorInDarkMode? : string ;
99 textOverflow? : string ;
1010 iconSize? : number ;
11+ useInlineFlex? : boolean ;
1112 }
1213
1314 let {
1718 textColorInDarkMode = ' dark:text-primary-500' ,
1819 textOverflow = ' ' ,
1920 iconSize = 4 ,
21+ useInlineFlex = true ,
2022 }: Props = $props ();
2123 </script >
2224
2325<a
2426 href ={url }
25- class ={` inline-flex items-center font-medium ${textSize } text-primary-600 hover:underline ${textColorInDarkMode } ` }
27+ class ={` ${ useInlineFlex ? ' inline-flex' : ' ' } items-center font-medium ${textSize } text-primary-600 hover:underline ${textColorInDarkMode }` }
2628 target =" _blank"
2729 rel =" noreferrer"
2830>
Original file line number Diff line number Diff line change 4343{/ snippet }
4444
4545{#snippet taskTitleAndExternalLink (taskResult : TaskResult )}
46- <div class =" max-w-[calc(100%-2rem )] truncate" >
46+ <div class =" max-w-[calc(100%-1rem )] truncate" >
4747 <ExternalLinkWrapper
4848 url ={getTaskUrl (taskResult .contest_id , taskResult .task_id )}
4949 description ={removeTaskIndexFromTitle (taskResult .title , taskResult .task_table_index )}
5050 textSize =" xs:text-md"
5151 textColorInDarkMode =" dark:text-gray-300"
5252 iconSize ={0 }
53+ useInlineFlex ={false }
5354 />
5455 </div >
5556{/ snippet }
You can’t perform that action at this time.
0 commit comments