The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: correct selection expansion on long content
TzeYiing055f71d7ad90
diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsxindex 55594056a29..07edb226c26 100644--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsx+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DatabasePostgresSelectionRender.tsx@@ -12,8 +12,8 @@ const DatabasePostgresSelectionRender = ({ log }: any) => {const DetailedRow = ({ label, value }: { label: string; value: string | React.ReactNode }) => {return (<div className="grid grid-cols-12">- <span className="text-scale-900 text-sm col-span-4">{label}</span>- <span className="text-scale-1200 text-base col-span-8">{value}</span>+ <p className="text-scale-900 text-sm col-span-4 whitespace-pre-wrap">{label}</p>+ <p className="text-scale-1200 text-base col-span-8 whitespace-pre-wrap">{value}</p></div>)}@@ -23,12 +23,9 @@ const DatabasePostgresSelectionRender = ({ log }: any) => {<div className={LOGS_TAILWIND_CLASSES.log_selection_x_padding}><span className="text-scale-900 text-sm col-span-4">Event message</span>- <div- className="text-xs text-wrap font-mono text-scale-1200 mt-2"- dangerouslySetInnerHTML={{- __html: log.event_message,- }}- />+ <div className="text-xs text-wrap font-mono text-scale-1200 mt-2 whitespace-pre-wrap overflow-x-auto">+ {log.event_message}+ </div></div><LogsDivider /><div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding} space-y-2`}>diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsxindex 77881e18329..6da1362c5aa 100644--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx@@ -204,23 +204,20 @@ const LogTable = ({return (<><section- className={'flex flex-1 flex-col ' + (!queryType ? 'shadow-lg' : '')}+ className={'flex flex-col w-full ' + (!queryType ? 'shadow-lg' : '')}style={{ maxHeight }}>{!queryType && (<div><divclassName="- w-full bg-scale-100 dark:bg-scale-300-- rounded-tl rounded-tr- border-t- border-l- border-r--- flex items-center justify-between- px-5 py-2+ w-full bg-scale-100 dark:bg-scale-300+ rounded-tl rounded-tr+ border-t+ border-l+ border-r+ flex items-center justify-between+ px-5 py-2"><div className="flex items-center gap-2">@@ -249,7 +246,7 @@ const LogTable = ({</div>)}<div- className={'flex flex-row flex-grow h-full ' + (!queryType ? 'border-l border-r' : '')}+ className={'flex flex-row h-full ' + (!queryType ? 'border-l border-r' : '')}><DataGridstyle={{ height: '100%' }}