mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
documentation: Add horizontal scrollbar to code blocks in help center.
Some code blocks in the help center have lines that are too long to fit, and wrap onto the next line. This can look awkward, and may cause confusion. An horizontal scroll bar is added to the code blocks to help fit everything into their own lines and clear up confusions. Fixes #24004.
This commit is contained in:
@@ -143,6 +143,11 @@
|
||||
|
||||
.codehilite {
|
||||
background-color: hsl(0, 0%, 100%);
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
|
||||
& > ul {
|
||||
|
||||
Reference in New Issue
Block a user