Fix styling and spacing for likes on comments

This commit is contained in:
Benjamin Neff
2022-11-11 03:05:58 +01:00
parent 9c0f8cdf11
commit ad6c9dd55f
3 changed files with 38 additions and 7 deletions

View File

@@ -24,10 +24,9 @@
.comments > .comment,
.comment.new-comment-form-wrapper {
margin: 0;
border-top: 1px dotted $border-grey;
padding: 10px 0;
padding: 10px 0 0;
.info {
margin-top: 5px;
@@ -54,8 +53,6 @@
}
}
.comment.new-comment-form-wrapper { padding-bottom: 0; }
.submit-button {
margin-top: 10px;
input {
@@ -81,6 +78,21 @@
}
}
.likes-on-comment {
&.likes {
margin-top: 6px;
}
.media {
margin: 0 0 2px;
}
.expand-likes {
display: inline-block;
margin-bottom: 4px;
}
}
.new-comment {
&:not(.open) .submit-button,
&:not(.open) .md-header {

View File

@@ -116,9 +116,6 @@
.no-comments { text-align: center; }
a {
color: $link-color;
}
.count {
float: left;
i {
@@ -144,6 +141,7 @@
.comment.new-comment-form-wrapper {
padding: 10px;
}
.comments > .comment { padding-bottom: 0; }
.count,
.interaction-avatars {
@@ -164,4 +162,15 @@
width: $line-height-computed;
}
}
.likes {
font-size: 12px;
line-height: 16px;
.bd,
.entypo-heart {
display: inline-block;
}
img { display: inline; }
}
}

View File

@@ -191,6 +191,16 @@
}
}
.comments {
.likes {
line-height: 10px;
}
.expand-likes {
line-height: 20px;
}
}
.status-message-location {
color: $text-grey;
font-size: $font-size-small;