From eb197bb8998d706e76016be203c66e898d251000 Mon Sep 17 00:00:00 2001 From: dimden Date: Sun, 21 Aug 2022 02:23:36 +0300 Subject: [PATCH] some design changes --- layouts/home/script.js | 13 +++++--- layouts/home/style.css | 25 ++++++++++++--- layouts/notifications/script.js | 13 +++++--- layouts/notifications/style.css | 25 +++++++++++++-- layouts/profile/script.js | 13 +++++--- layouts/profile/style.css | 15 +++++++-- layouts/search/script.js | 11 +++++-- layouts/search/style.css | 26 +++++++++++++--- layouts/tweet/script.js | 55 +++++++++++++++++++++++---------- layouts/tweet/style.css | 25 ++++++++++++--- manifest.json | 2 +- 11 files changed, 173 insertions(+), 50 deletions(-) diff --git a/layouts/home/script.js b/layouts/home/script.js index 36f53954..53aa9500 100644 --- a/layouts/home/script.js +++ b/layouts/home/script.js @@ -276,7 +276,7 @@ async function appendTweet(t, timelineContainer, options = {}) { ${t.full_text ? escapeHTML(t.full_text).replace(/\n/g, '
').replace(/((http|https|ftp):\/\/[\w?=&.\/-;#~%-]+(?![\w\s?&.\/;#~%"=-]*>))/g, '$1').replace(/(?@$1`).replace(/(?#$1`) : ''}
${!isEnglish ? `
- Translate tweet + View translation ` : ``} ${t.extended_entities && t.extended_entities.media ? `
@@ -312,13 +312,13 @@ async function appendTweet(t, timelineContainer, options = {}) { ` : ''} ${options.selfThreadButton && t.self_thread.id_str ? `
Show this thread` : ``}
- ${t.reply_count} - ${t.retweet_count} + ${t.reply_count} + ${t.retweet_count} - ${t.favorite_count} + ${t.favorite_count}