From 3d8832095b6991d44ed1bdcbca22cff9600a125e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 31 May 2022 09:29:06 +0100 Subject: [PATCH] Fix markdown preview width in Code --- www/code/app-code.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/code/app-code.less b/www/code/app-code.less index 3fa3ccde8..406f02cd0 100644 --- a/www/code/app-code.less +++ b/www/code/app-code.less @@ -56,7 +56,7 @@ } } #cp-app-code-preview { - padding: 5px 20px; + padding: 5px 10px; overflow: auto; display: inline-block; height: 100%; @@ -101,7 +101,7 @@ #cp-app-code-preview-content { background-color: @cp_preview-bg; color: @cp_preview-fg; - max-width: 40vw; + max-width: 70ch; margin: 1em auto; .markdown_preformatted-code;