From 9828f739b73e2f377c1450b9e11f0914722ee440 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 6 Sep 2023 16:21:08 +0200 Subject: Break long inline elements across lines (#667) --- .changeset/gorgeous-wasps-report.md | 5 +++++ packages/starlight/style/reset.css | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/gorgeous-wasps-report.md diff --git a/.changeset/gorgeous-wasps-report.md b/.changeset/gorgeous-wasps-report.md new file mode 100644 index 00000000..71aae3ff --- /dev/null +++ b/.changeset/gorgeous-wasps-report.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Break inline `` across lines to avoid overflow diff --git a/packages/starlight/style/reset.css b/packages/starlight/style/reset.css index 65370219..6a0a3c55 100644 --- a/packages/starlight/style/reset.css +++ b/packages/starlight/style/reset.css @@ -38,7 +38,8 @@ h2, h3, h4, h5, -h6 { +h6, +code { overflow-wrap: break-word; } -- cgit