Commit 0d1228cc authored by Vitaly Slobodin's avatar Vitaly Slobodin Committed by Natalia Tepluhina

Do not break words in the code blocks under Safari

parent 83af89ed
......@@ -78,6 +78,8 @@
code {
font-family: $monospace-font;
white-space: pre-wrap;
// Safari
word-wrap: break-word;
overflow-wrap: break-word;
word-break: keep-all;
}
......@@ -344,6 +346,9 @@
// Multi-line code blocks should scroll horizontally
code {
white-space: pre;
// Safari
word-wrap: normal;
overflow-wrap: normal;
}
&.plain-readme {
......
---
title: Do not break word in the code blocks under Safari
merge_request: 55405
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment