diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 34915d1e..655f8add 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -290,8 +290,9 @@ tags.push(".media-item, .media-preview { border-radius: 1px !important }"); // square-ify media tags.push(".quoted-tweet { border-radius: 0 !important }"); // square-ify quoted tweets tags.push(".tweet-context .nbfc { text-overflow: ellipsis !important; white-space: nowrap !important }"); // force ellipsis on long usernames - tags.push(".activity-header { align-items: center !important; margin-bottom: 4px !important }"); // tweak alignment of avatar and text in notifications - tags.push(".activity-header .tweet-timestamp { line-height: unset !important }"); // fix timestamp position in notifications + tags.push(".activity-header.has-source-avatar { margin-bottom: 4px !important }"); // tweak distance between avatar and text + tags.push(".activity-header .tweet-timestamp { line-height: unset !important }"); // fix timestamp position + tags.push(".activity-header .icon-user-filled { vertical-align: sub !important; }"); // fix follow icon position tags.push("#tduck-show-thread { display: inline-block !important; cursor: pointer }"); if (fontSizeName === "smallest"){ diff --git a/Resources/Scripts/styles/browser.css b/Resources/Scripts/styles/browser.css index 28f03798..a9db06c6 100644 --- a/Resources/Scripts/styles/browser.css +++ b/Resources/Scripts/styles/browser.css @@ -99,18 +99,16 @@ white-space: nowrap !important; } -.activity-header { - align-items: center !important; - margin-bottom: 4px !important; +.activity-header.has-source-avatar { + margin-bottom: 4px !important } .activity-header .tweet-timestamp { line-height: unset !important; } -.account-bio.padding-t--5 { - /* follow notification padding */ - padding-top: 2px !important; +.activity-header .icon-user-filled { + vertical-align: sub !important; } html[data-td-theme='light'] .stream-item:not(:hover) .js-user-actions-menu {