mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
parent
d52769009b
commit
ff359a3fc8
4 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,6 @@
|
||||||
font-family: $font_3;
|
font-family: $font_3;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
display: inline;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tweet-header {
|
.tweet-header {
|
||||||
|
|
|
@ -25,7 +25,8 @@ proc renderProfileCard*(profile: Profile; prefs: Prefs): VNode =
|
||||||
tdiv(class="profile-card-extra"):
|
tdiv(class="profile-card-extra"):
|
||||||
if profile.bio.len > 0:
|
if profile.bio.len > 0:
|
||||||
tdiv(class="profile-bio"):
|
tdiv(class="profile-bio"):
|
||||||
p: verbatim replaceUrl(profile.bio, prefs)
|
p(dir="auto"):
|
||||||
|
verbatim replaceUrl(profile.bio, prefs)
|
||||||
|
|
||||||
if profile.location.len > 0:
|
if profile.location.len > 0:
|
||||||
tdiv(class="profile-location"):
|
tdiv(class="profile-location"):
|
||||||
|
|
|
@ -59,7 +59,7 @@ proc renderUser(user: Profile; prefs: Prefs): VNode =
|
||||||
linkUser(user, class="fullname")
|
linkUser(user, class="fullname")
|
||||||
linkUser(user, class="username")
|
linkUser(user, class="username")
|
||||||
|
|
||||||
tdiv(class="tweet-content media-body"):
|
tdiv(class="tweet-content media-body", dir="auto"):
|
||||||
verbatim replaceUrl(user.bio, prefs)
|
verbatim replaceUrl(user.bio, prefs)
|
||||||
|
|
||||||
proc renderTimelineUsers*(results: Result[Profile]; prefs: Prefs; path=""): VNode =
|
proc renderTimelineUsers*(results: Result[Profile]; prefs: Prefs; path=""): VNode =
|
||||||
|
|
|
@ -247,7 +247,7 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class="";
|
||||||
if index == 0 and tweet.reply.len > 0:
|
if index == 0 and tweet.reply.len > 0:
|
||||||
renderReply(tweet)
|
renderReply(tweet)
|
||||||
|
|
||||||
tdiv(class="tweet-content media-body"):
|
tdiv(class="tweet-content media-body", dir="auto"):
|
||||||
verbatim replaceUrl(tweet.text, prefs)
|
verbatim replaceUrl(tweet.text, prefs)
|
||||||
|
|
||||||
if tweet.quote.isSome:
|
if tweet.quote.isSome:
|
||||||
|
|
Loading…
Reference in a new issue