From 9179ea45596dcd38173befff8cdf97c8adaf5567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 25 Sep 2022 03:07:59 +0200 Subject: [PATCH] Do not overlap label placeholders in preview. --- assets/ckeditor/plugins/PartDBLabel/PartDBLabel.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/ckeditor/plugins/PartDBLabel/PartDBLabel.css b/assets/ckeditor/plugins/PartDBLabel/PartDBLabel.css index 9171c357..62d066a0 100644 --- a/assets/ckeditor/plugins/PartDBLabel/PartDBLabel.css +++ b/assets/ckeditor/plugins/PartDBLabel/PartDBLabel.css @@ -1,9 +1,10 @@ .cke_placeholder { background: #ffff00; - padding: 4px 2px; + padding: 1px 2px; outline-offset: -2px; line-height: 1em; margin: 0 1px; + display: inline-block; } .cke_placeholder::selection {