The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: Fix horizontal scroll from new word wrap feature (#41454)
Chris Chinchilla8c5ec859af7e
diff --git a/apps/docs/features/ui/CodeBlock/CodeBlock.tsx b/apps/docs/features/ui/CodeBlock/CodeBlock.tsxindex c79c416b9a6..83c074ed5cf 100644--- a/apps/docs/features/ui/CodeBlock/CodeBlock.tsx+++ b/apps/docs/features/ui/CodeBlock/CodeBlock.tsx@@ -64,7 +64,7 @@ export async function CodeBlock({'group','relative','not-prose',- 'w-full overflow-hidden',+ 'w-full overflow-x-auto','border border-default rounded-lg','bg-200','text-sm',diff --git a/apps/docs/styles/main.scss b/apps/docs/styles/main.scssindex a581a22e6cd..02fc3958d64 100644--- a/apps/docs/styles/main.scss+++ b/apps/docs/styles/main.scss@@ -359,8 +359,11 @@ th code {}/* Word wrap styles for code blocks */-.shiki[data-wrapped='true'] .code-content {+.shiki[data-wrapped='true'] {overflow-x: hidden !important;+}++.shiki[data-wrapped='true'] .code-content {white-space: pre-wrap !important;word-break: break-word !important;}