Rounded rich-text comments

master
David Benqué 3 years ago
parent bc43ec49e8
commit 49c6b295eb

@ -98,6 +98,8 @@
background-color: @cp_comments-bg; background-color: @cp_comments-bg;
position: relative; position: relative;
padding: 5px; padding: 5px;
border-top-left-radius: @variables_radius;
border-top-right-radius: @variables_radius;
box-sizing: content-box; box-sizing: content-box;
.avatar_main(40px); .avatar_main(40px);
.cp-comment-metadata { .cp-comment-metadata {
@ -114,8 +116,8 @@
cursor: pointer; cursor: pointer;
outline: none; outline: none;
position: absolute; position: absolute;
right: 0; right: 5px;
top: 0; top: 5px;
width: 20px; width: 20px;
height: 20px; height: 20px;
text-align: center; text-align: center;
@ -128,6 +130,8 @@
.cp-comment-content { .cp-comment-content {
background-color: @cp_comments-bg; background-color: @cp_comments-bg;
padding: 0px 5px 5px 5px; padding: 0px 5px 5px 5px;
border-bottom-left-radius: @variables_radius;
border-bottom-right-radius: @variables_radius;
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-word; word-break: break-word;
} }
@ -150,6 +154,7 @@
} }
.cp-comment-active { .cp-comment-active {
background-color: rgba(0,0,0,0.2); background-color: rgba(0,0,0,0.2);
border-radius: @variables_radius;
.cp-comment-actions { .cp-comment-actions {
display: block; display: block;
} }

Loading…
Cancel
Save