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:
@@ -53,6 +53,7 @@ $text-size: 0.75em; // Lower looks bad on Firefox
|
|||||||
font-size: $text-size;
|
font-size: $text-size;
|
||||||
font-family: $font-main;
|
font-family: $font-main;
|
||||||
code {
|
code {
|
||||||
|
word-break: break-all; // Inline code should wrap with the line, or whole text overflows
|
||||||
font-family: $font-normal;
|
font-family: $font-normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user