From 48d65ce520a251c500706d1592edbfd74dae7e79 Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Mon, 14 Sep 2020 12:43:48 +0200 Subject: [PATCH] Style fixes --- src/editor/widgets/comment/Comment.jsx | 2 +- themes/default/editor/widgets/comment/_comment.scss | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/editor/widgets/comment/Comment.jsx b/src/editor/widgets/comment/Comment.jsx index 6e323a6..2e63b25 100644 --- a/src/editor/widgets/comment/Comment.jsx +++ b/src/editor/widgets/comment/Comment.jsx @@ -39,7 +39,7 @@ const Comment = props => { return props.readOnly ? (
-
{props.body.value}
+
{props.body.value}
{ creatorInfo }
) : ( diff --git a/themes/default/editor/widgets/comment/_comment.scss b/themes/default/editor/widgets/comment/_comment.scss index 4db89d5..9c62a90 100644 --- a/themes/default/editor/widgets/comment/_comment.scss +++ b/themes/default/editor/widgets/comment/_comment.scss @@ -4,7 +4,8 @@ background-color:#fff; position:relative; - .r6o-editable-text { + .r6o-editable-text, + .r6o-readonly-comment { padding:8px 10px; } @@ -12,6 +13,7 @@ border:1px solid $lightgrey-border; display:inline-block; border-radius:2px; + margin:0 10px 8px 10px; padding:4px 5px; line-height:100%; font-size:12px;