Fix markdown preview width in Code

master
David Benqué 3 years ago
parent c5e29ce7d7
commit 3d8832095b

@ -56,7 +56,7 @@
} }
} }
#cp-app-code-preview { #cp-app-code-preview {
padding: 5px 20px; padding: 5px 10px;
overflow: auto; overflow: auto;
display: inline-block; display: inline-block;
height: 100%; height: 100%;
@ -101,7 +101,7 @@
#cp-app-code-preview-content { #cp-app-code-preview-content {
background-color: @cp_preview-bg; background-color: @cp_preview-bg;
color: @cp_preview-fg; color: @cp_preview-fg;
max-width: 40vw; max-width: 70ch;
margin: 1em auto; margin: 1em auto;
.markdown_preformatted-code; .markdown_preformatted-code;

Loading…
Cancel
Save