Rename retweet css class to prevent uBlock hiding

This commit is contained in:
Zed 2019-09-24 00:59:13 +02:00
parent 7cb1986a8f
commit a4399c753a
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@
}
}
.retweet, .pinned, .tweet-stats {
.retweet-header, .pinned, .tweet-stats {
align-content: center;
color: $grey;
display: flex;
@ -106,7 +106,7 @@
}
}
.retweet {
.retweet-header {
margin-top: -5px !important;
}

View File

@ -7,7 +7,7 @@ import ".."/[types, utils, formatters]
proc renderHeader(tweet: Tweet): VNode =
buildHtml(tdiv):
if tweet.retweet.isSome:
tdiv(class="retweet"):
tdiv(class="retweet-header"):
span: icon "retweet", get(tweet.retweet).by & " retweeted"
if tweet.pinned: