Skip to content

Commit

Permalink
Fixing up core comment css
Browse files Browse the repository at this point in the history
  • Loading branch information
ishunko authored and nkissebe committed Nov 4, 2022
1 parent 698a3ad commit c781753
Showing 1 changed file with 6 additions and 47 deletions.
53 changes: 6 additions & 47 deletions core/assets/less/comments.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
margin: 0;
padding: 0;

& > li {
li {
padding-left: 30px;
}
}
Expand All @@ -50,7 +50,6 @@

a {
margin-right: 1em;
color: @commentOptionColor;
border: none;

&:before {
Expand Down Expand Up @@ -101,48 +100,6 @@
}
}

.comment-head {
margin-bottom: 0.3rem;
}

.comment-meta {
display: flex;
align-items: center;
justify-content: space-between;

.permalink {
color: @commentPermalinkColor;
}

.copy-link {
display: flex;
color: @commentPermalinkColor;

.icn {
margin-left: 0.3rem;
line-height: 0;

svg {
height: 1.2rem;
width: 1.2rem;
fill: @commentPermalinkColor;
}
}

&:hover {
border: 0;
color: @black;

.icn {

svg {
fill: @black;
}
}
}
}
}

// Voting buttons
.comment-voting {
margin: -0.61803399em 0 0 0;
Expand Down Expand Up @@ -277,7 +234,9 @@
width: 50%;
}
}
}

.comment-attachments {
.attachment {
margin: 1em 0;
padding: 1em 1em 1em 4em;
Expand Down Expand Up @@ -393,7 +352,7 @@
#commentform .time,
ol.comments .date,
ol.comments .time {
margin-right: 0.7em;
margin-left: 0.7em;
}

/* Comment form */
Expand Down Expand Up @@ -522,7 +481,7 @@
li {
ol.comments {

& > li {
li {
padding-left: 70px;
}
}
Expand Down Expand Up @@ -624,4 +583,4 @@
}
}
}
}
}

0 comments on commit c781753

Please sign in to comment.