From bf74e2d8af4ac83aff62392d27198fc89595501a Mon Sep 17 00:00:00 2001 From: phvm Date: Tue, 3 Sep 2024 14:14:20 -0300 Subject: [PATCH] fix: word breaking and width off tables columns --- src/styles/documentation-page.ts | 2 +- src/styles/global.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/styles/documentation-page.ts b/src/styles/documentation-page.ts index 4ea3b2b0..e5333693 100644 --- a/src/styles/documentation-page.ts +++ b/src/styles/documentation-page.ts @@ -52,7 +52,7 @@ const articleBox: SxStyleProp = { }, strong: { fontWeight: '600', - overflowWrap: 'anywhere', + overflowWrap: 'break-word', }, hr: { border: '0.5px solid #E7E9EE', diff --git a/src/styles/global.css b/src/styles/global.css index db324760..dd6b8a3e 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -69,6 +69,7 @@ table th { font-size: 0.875em; border: 1px solid #e7e9ef; padding: 0.5em; + min-width: 60px; } table tbody tr:nth-of-type(even) {