Style fixes

This commit is contained in:
Rainer Simon 2020-09-14 12:43:48 +02:00
parent 5c26b7e800
commit 48d65ce520
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,7 @@ const Comment = props => {
return props.readOnly ? ( return props.readOnly ? (
<div className="r6o-widget comment"> <div className="r6o-widget comment">
<div className="value">{props.body.value}</div> <div className="r6o-readonly-comment">{props.body.value}</div>
{ creatorInfo } { creatorInfo }
</div> </div>
) : ( ) : (

View File

@ -4,7 +4,8 @@
background-color:#fff; background-color:#fff;
position:relative; position:relative;
.r6o-editable-text { .r6o-editable-text,
.r6o-readonly-comment {
padding:8px 10px; padding:8px 10px;
} }
@ -12,6 +13,7 @@
border:1px solid $lightgrey-border; border:1px solid $lightgrey-border;
display:inline-block; display:inline-block;
border-radius:2px; border-radius:2px;
margin:0 10px 8px 10px;
padding:4px 5px; padding:4px 5px;
line-height:100%; line-height:100%;
font-size:12px; font-size:12px;