Improved styling of the label dialog editor, so that the appearance is closer to the Label result

This commit is contained in:
Jan Böhmer 2022-09-21 21:49:09 +02:00
parent 9c87202509
commit ab8be58c0d
6 changed files with 33 additions and 4 deletions

19
assets/css/ckeditor.css Normal file
View file

@ -0,0 +1,19 @@
/********************************************************************
* HTML Label style override
*********************************************************************/
/** Should be the same settings, as in label_style.css */
.ck-html-label .ck-content {
font-family: "DejaVu Sans Mono", monospace;
font-size: 12px;
line-height: 1.0;
font-size-adjust: 1.5;
}
.ck-html-label .ck-content p {
margin: 0;
}
.ck-html-label .ck-content hr {
margin: 2px;
}