mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Resolves #5740: Make code blocks horizontally scrollable on note viewer
This commit is contained in:
parent
c759982890
commit
8c1a3d0ac1
@ -389,6 +389,12 @@ export default function(theme: any, options: Options = null) {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* To make code blocks horizontally scrollable */
|
||||
/* https://github.com/laurent22/joplin/issues/5740 */
|
||||
pre.hljs {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
/* =============================================== */
|
||||
/* For TinyMCE */
|
||||
/* =============================================== */
|
||||
|
Loading…
Reference in New Issue
Block a user