From 14d4dc2ed9ed90dc93b7eef359777da412ca4224 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Wed, 6 Jun 2018 16:04:15 +0200 Subject: [PATCH] Fix more instances of cut off badges --- Resources/Scripts/styles/browser.css | 7 ++++++- Resources/Scripts/styles/notification.css | 14 +++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Resources/Scripts/styles/browser.css b/Resources/Scripts/styles/browser.css index ecd31dee..4d0a629b 100644 --- a/Resources/Scripts/styles/browser.css +++ b/Resources/Scripts/styles/browser.css @@ -313,7 +313,7 @@ a[data-full-url] { } html[data-td-font='smallest'] .sprite-verified-mini { - /* fix cut off badge when zoomed in */ + /* fix cut off badge in timelines */ width: 13px !important; height: 13px !important; background-position: -223px -99px !important; @@ -333,6 +333,11 @@ html[data-td-font='smallest'] .tweet-detail-wrapper .badge-verified:before { background-position: -223px -97px !important; } +html[data-td-font='smallest'] .fullname-badged:before, html[data-td-font='small'] .fullname-badged:before { + /* fix cut off badge in follow chirps */ + margin-top: -7px !important; +} + .keyboard-shortcut-list { /* fix keyboard navigation alignment */ vertical-align: top !important; diff --git a/Resources/Scripts/styles/notification.css b/Resources/Scripts/styles/notification.css index ca717f2b..5d3776d6 100644 --- a/Resources/Scripts/styles/notification.css +++ b/Resources/Scripts/styles/notification.css @@ -61,13 +61,25 @@ a[data-full-url] { /* Fix general visual issues or annoyances */ /*******************************************/ +html[data-td-font='smallest'] .sprite-verified-mini { + /* fix cut off badge in timelines */ + width: 13px !important; + height: 13px !important; + background-position: -223px -99px !important; +} + html[data-td-font='smallest'] .badge-verified:before { - /* fix cut off badge icon */ + /* fix cut off badge in notifications */ width: 13px !important; height: 13px !important; background-position: -223px -98px !important; } +html[data-td-font='smallest'] .fullname-badged:before, html[data-td-font='small'] .fullname-badged:before { + /* fix cut off badge in follow chirps */ + margin-top: -7px !important; +} + .account-inline .username { vertical-align: 10% !important; }