fix(markdown): wrap long inline code in Safari
Some checks failed
CI / verify (push) Failing after 51s
Some checks failed
CI / verify (push) Failing after 51s
Safari does not treat `/` as a soft break opportunity inside inline `<code>`, 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.
This commit is contained in:
@@ -182,6 +182,10 @@ pre {
|
||||
}
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
pre.mermaid {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user