Rename retweet css class to prevent uBlock hiding
This commit is contained in:
parent
7cb1986a8f
commit
a4399c753a
|
@ -91,7 +91,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.retweet, .pinned, .tweet-stats {
|
.retweet-header, .pinned, .tweet-stats {
|
||||||
align-content: center;
|
align-content: center;
|
||||||
color: $grey;
|
color: $grey;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.retweet {
|
.retweet-header {
|
||||||
margin-top: -5px !important;
|
margin-top: -5px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import ".."/[types, utils, formatters]
|
||||||
proc renderHeader(tweet: Tweet): VNode =
|
proc renderHeader(tweet: Tweet): VNode =
|
||||||
buildHtml(tdiv):
|
buildHtml(tdiv):
|
||||||
if tweet.retweet.isSome:
|
if tweet.retweet.isSome:
|
||||||
tdiv(class="retweet"):
|
tdiv(class="retweet-header"):
|
||||||
span: icon "retweet", get(tweet.retweet).by & " retweeted"
|
span: icon "retweet", get(tweet.retweet).by & " retweeted"
|
||||||
|
|
||||||
if tweet.pinned:
|
if tweet.pinned:
|
||||||
|
|
Loading…
Reference in New Issue