1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Desktop: Resolves #5740: Make code blocks horizontally scrollable on note viewer

This commit is contained in:
Laurent Cozic 2021-11-17 19:46:00 +00:00
parent c759982890
commit 8c1a3d0ac1

View File

@ -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 */
/* =============================================== */