@@ -37,8 +37,8 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
3737 . map ( ( c ) => ( { fileName : c . fileName , fileSource : c . fileSource } ) )
3838 . map ( ( s , index ) => {
3939 return (
40- < li key = { index } className = 'flex flex-row inline-block justify-between items-center p-2' >
41- < div className = 'flex flex-row inline-block justify-between items-center' >
40+ < li key = { index } className = 'flex! flex-row inline-block justify-between items-center p-2' >
41+ < div className = 'flex! flex-row inline-block justify-between items-center' >
4242 { s . fileSource === 'local file' ? (
4343 < DocumentTextIconOutline className = 'n-size-token-7 mr-2' />
4444 ) : (
@@ -59,11 +59,11 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
5959 < ul className = 'list-class list-none' >
6060 { sources . map ( ( link , index ) => {
6161 return (
62- < li key = { index } className = 'flex flex-row inline-block justify-between items-center p-2' >
62+ < li key = { index } className = 'flex! flex-row inline-block justify-between items-center p-2' >
6363 { link ?. startsWith ( 'http' ) || link ?. startsWith ( 'https' ) ? (
6464 < >
6565 { isAllowedHost ( link , [ 'wikipedia.org' ] ) && (
66- < div className = 'flex flex-row inline-block justify-between items-center' >
66+ < div className = 'flex! flex-row inline-block justify-between items-center' >
6767 < img src = { wikipedialogo } width = { 20 } height = { 20 } className = 'mr-2' alt = 'Wikipedia Logo' />
6868 < TextLink href = { link } isExternalLink = { true } >
6969 < HoverableLink url = { link } >
@@ -78,7 +78,7 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
7878 </ div >
7979 ) }
8080 { isAllowedHost ( link , [ 'storage.googleapis.com' ] ) && (
81- < div className = 'flex flex-row inline-block justify-between items-center' >
81+ < div className = 'flex! flex-row inline-block justify-between items-center' >
8282 < img src = { gcslogo } width = { 20 } height = { 20 } className = 'mr-2' alt = 'Google Cloud Storage Logo' />
8383 < Typography
8484 variant = 'body-medium'
@@ -90,7 +90,7 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
9090 ) }
9191 { youtubeLinkValidation ( link ) && (
9292 < >
93- < div className = 'flex flex-row inline-block justiy-between items-center' >
93+ < div className = 'flex! flex-row inline-block justiy-between items-center' >
9494 < img src = { youtubelogo } width = { 20 } height = { 20 } className = 'mr-2' />
9595 < TextLink href = { link } isExternalLink = { true } >
9696 < HoverableLink url = { link } >
@@ -107,7 +107,7 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
107107 ) }
108108 { ! link ?. startsWith ( 's3://' ) &&
109109 ! isAllowedHost ( link , [ 'storage.googleapis.com' , 'wikipedia.org' , 'www.youtube.com' ] ) && (
110- < div className = 'flex flex-row inline-block justify-between items-center' >
110+ < div className = 'flex! flex-row inline-block justify-between items-center' >
111111 < GlobeAltIconOutline className = 'n-size-token-7' />
112112 < TextLink href = { link } isExternalLink = { true } >
113113 < Typography variant = 'body-medium' > { link } </ Typography >
@@ -116,7 +116,7 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
116116 ) }
117117 </ >
118118 ) : link ?. startsWith ( 's3://' ) ? (
119- < div className = 'flex flex-row inline-block justify-between items-center' >
119+ < div className = 'flex! flex-row inline-block justify-between items-center' >
120120 < img src = { s3logo } width = { 20 } height = { 20 } className = 'mr-2' alt = 'S3 Logo' />
121121 < Typography
122122 variant = 'body-medium'
@@ -126,7 +126,7 @@ const SourcesInfo: FC<SourcesProps> = ({ loading, mode, chunks, sources }) => {
126126 </ Typography >
127127 </ div >
128128 ) : (
129- < div className = 'flex flex-row inline-block justify-between items-center' >
129+ < div className = 'flex! flex-row inline-block justify-between items-center' >
130130 < DocumentTextIconOutline className = 'n-size-token-7 mr-2' />
131131 < Typography
132132 variant = 'body-medium'
0 commit comments