From 0a17b64f9e0baec40f93e205255e8e4791238539 Mon Sep 17 00:00:00 2001 From: Marlow Payne Date: Tue, 24 Jan 2023 21:26:06 +0000 Subject: [PATCH] Improve readability of markdown tables by wrapping on words --- .changeset/five-hornets-tickle.md | 5 +++++ .../src/components/Longform/Longform.module.scss | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/five-hornets-tickle.md diff --git a/.changeset/five-hornets-tickle.md b/.changeset/five-hornets-tickle.md new file mode 100644 index 00000000000..7b32012dba2 --- /dev/null +++ b/.changeset/five-hornets-tickle.md @@ -0,0 +1,5 @@ +--- +'polaris.shopify.com': patch +--- + +Improve readability of markdown tables by wrapping on words diff --git a/polaris.shopify.com/src/components/Longform/Longform.module.scss b/polaris.shopify.com/src/components/Longform/Longform.module.scss index ff5660bbe19..b2a912c2614 100644 --- a/polaris.shopify.com/src/components/Longform/Longform.module.scss +++ b/polaris.shopify.com/src/components/Longform/Longform.module.scss @@ -212,8 +212,9 @@ :global { .table-wrapper { overflow: auto; - max-width: calc(100vw - 1.25rem); + max-width: calc(100vw - 2.5rem); width: 100%; + overflow-wrap: normal; } } }