Browse Source

[Beta] Prevent text overflow (#5028)

main
dan 2 years ago
committed by GitHub
parent
commit
13f0e17faa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      beta/src/components/Layout/Page.tsx
  2. 1
      beta/src/styles/index.css

4
beta/src/components/Layout/Page.tsx

@ -47,7 +47,9 @@ export function Page({children, toc}: PageProps) {
<React.Suspense fallback={null}>
<div className="flex flex-1 w-full h-full self-stretch min-w-0">
<main className="w-full self-stretch h-full mx-auto relative w-full min-w-0">
<article key={asPath}>{children}</article>
<article className="break-words" key={asPath}>
{children}
</article>
<Footer />
</main>
</div>

1
beta/src/styles/index.css

@ -74,6 +74,7 @@
body {
padding: 0;
margin: 0;
overflow-x: hidden;
}
/* Start purging... */

Loading…
Cancel
Save