mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Focus main tweet in threads
This commit is contained in:
parent
2b7b374708
commit
f1529077d7
4 changed files with 12 additions and 6 deletions
|
|
@ -33,7 +33,7 @@ proc renderConversation*(conversation: Conversation; prefs: Prefs; path: string)
|
|||
for i, tweet in conversation.before.content:
|
||||
renderTweet(tweet, prefs, path, index=i)
|
||||
|
||||
tdiv(class="main-tweet"):
|
||||
tdiv(class="main-tweet", id="m"):
|
||||
let afterClass = if hasAfter: "thread thread-line" else: ""
|
||||
renderTweet(conversation.tweet, prefs, path, class=afterClass,
|
||||
mainTweet=true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue