Break line in inline codes in documentation

It fixes the behavior where the whole text goes outside of the screen
(overflows) due to inline code not breaking.
This commit is contained in:
undergroundwires
2022-10-03 21:25:57 +02:00
parent e8d06e0f3e
commit c1c2f2925f

View File

@@ -53,6 +53,7 @@ $text-size: 0.75em; // Lower looks bad on Firefox
font-size: $text-size;
font-family: $font-main;
code {
word-break: break-all; // Inline code should wrap with the line, or whole text overflows
font-family: $font-normal;
font-weight: 600;
}