diff options
author | Chris Swithinbank | 2023-09-06 16:21:08 +0200 |
---|---|---|
committer | GitHub | 2023-09-06 16:21:08 +0200 |
commit | 9828f739b73e2f377c1450b9e11f0914722ee440 (patch) | |
tree | 54f44df51922fa0a59f76879905ee50d545e6e3d | |
parent | c4750c4fe0077e443a0b31c178e4f74159ddf5a7 (diff) | |
download | IT.starlight-9828f739b73e2f377c1450b9e11f0914722ee440.tar.gz IT.starlight-9828f739b73e2f377c1450b9e11f0914722ee440.tar.bz2 IT.starlight-9828f739b73e2f377c1450b9e11f0914722ee440.zip |
Break long inline <code> elements across lines (#667)
-rw-r--r-- | .changeset/gorgeous-wasps-report.md | 5 | ||||
-rw-r--r-- | packages/starlight/style/reset.css | 3 |
2 files changed, 7 insertions, 1 deletions
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 `<code>` 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; } |