From 57bc63d43bf22b431a8c1c362e99691750d344b0 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Tue, 9 Jun 2026 16:22:03 +0200 Subject: [PATCH] fix(markdown): wrap long inline code in Safari Safari does not treat `/` as a soft break opportunity inside inline ``, so long paths overflow the fixed-width stacked note column. Use `overflow-wrap: anywhere` so the column can shrink to its max-width instead of being pushed wider by unbreakable inline code. --- src/styles/app.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles/app.css b/src/styles/app.css index 1a2d38a..34d2399 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -182,6 +182,10 @@ pre { } } +:not(pre) > code { + overflow-wrap: anywhere; +} + pre.mermaid { display: flex; justify-content: center;