mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 23:52:40 +01:00
fea5630ea4
Changed to be rendered server side along with page content. Changed deletion to fully delete comments from the database. Added 'local_id' to comments for referencing. Updated reply system to be non-nested (Incomplete) Made database comment format entity-agnostic to be more future proof. Updated designs of comment sections.
34 lines
602 B
SCSS
34 lines
602 B
SCSS
.comment-box {
|
|
border: 1px solid #DDD;
|
|
margin-bottom: $-s;
|
|
border-radius: 3px;
|
|
.content {
|
|
padding: $-s;
|
|
}
|
|
.content p {
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
|
|
.comment-box .header {
|
|
padding: $-xs $-s;
|
|
background-color: #f8f8f8;
|
|
border-bottom: 1px solid #DDD;
|
|
img, a, span {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
a, span {
|
|
padding: $-xxs 0 $-xxs 0;
|
|
line-height: 1.6;
|
|
}
|
|
a { color: #666; }
|
|
span {
|
|
color: #888;
|
|
padding-left: $-xxs;
|
|
}
|
|
.text-muted {
|
|
color: #999;
|
|
}
|
|
}
|