From 12ea6f0bd01422ece7b11caf6c2c06995a11ec1f Mon Sep 17 00:00:00 2001 From: dimden Date: Fri, 22 Jul 2022 15:37:08 +0300 Subject: [PATCH] fix unneeded scrollbars --- layouts/header/style.css | 2 +- layouts/home/style.css | 4 +++- layouts/notifications/style.css | 4 +++- layouts/profile/style.css | 4 +++- layouts/search/style.css | 4 +++- layouts/tweet/style.css | 4 +++- manifest.json | 2 +- 7 files changed, 17 insertions(+), 7 deletions(-) diff --git a/layouts/header/style.css b/layouts/header/style.css index 78877a6c..f8c0d3dc 100644 --- a/layouts/header/style.css +++ b/layouts/header/style.css @@ -123,7 +123,7 @@ input, textarea { padding: 13px 15px; top: 8px; position: relative; - border-bottom: 3px solid var(--background-color); + border-bottom: 3px solid transparent; transition: 0.1s; } diff --git a/layouts/home/style.css b/layouts/home/style.css index 14fb7061..3f03c064 100644 --- a/layouts/home/style.css +++ b/layouts/home/style.css @@ -221,9 +221,11 @@ body { .tweet-interact, .tweet-body-text-quote { display: flow-root; - overflow-x: hidden; color: var(--default-text-color) } +.tweet-body-text-quote { + overflow-x: hidden; +} .tweet-body-quote { background-color: var(--background-color); diff --git a/layouts/notifications/style.css b/layouts/notifications/style.css index 9eafc38c..cb0f72aa 100644 --- a/layouts/notifications/style.css +++ b/layouts/notifications/style.css @@ -225,9 +225,11 @@ body { .tweet-interact, .tweet-body-text-quote { display: flow-root; - overflow-x: hidden; color: var(--default-text-color) } +.tweet-body-text-quote { + overflow-x: hidden; +} .tweet-body-quote { background-color: var(--background-color); diff --git a/layouts/profile/style.css b/layouts/profile/style.css index 7406ced9..643ca507 100644 --- a/layouts/profile/style.css +++ b/layouts/profile/style.css @@ -199,9 +199,11 @@ body { .tweet-interact, .tweet-body-text-quote { display: flow-root; - overflow-x: hidden; color: var(--default-text-color) } +.tweet-body-text-quote { + overflow-x: hidden; +} .tweet-body-quote { background-color: var(--background-color); diff --git a/layouts/search/style.css b/layouts/search/style.css index 62cdeb49..a220924c 100644 --- a/layouts/search/style.css +++ b/layouts/search/style.css @@ -232,9 +232,11 @@ body { .tweet-interact, .tweet-body-text-quote { display: flow-root; - overflow-x: hidden; color: var(--default-text-color) } +.tweet-body-text-quote { + overflow-x: hidden; +} .tweet-body-quote { background-color: var(--background-color); diff --git a/layouts/tweet/style.css b/layouts/tweet/style.css index 1caedfdf..8b4dba1d 100644 --- a/layouts/tweet/style.css +++ b/layouts/tweet/style.css @@ -230,9 +230,11 @@ body { .tweet-interact, .tweet-body-text-quote { display: flow-root; - overflow-x: hidden; color: var(--default-text-color) } +.tweet-body-text-quote { + overflow-x: hidden; +} .tweet-body-quote { background-color: var(--background-color); diff --git a/manifest.json b/manifest.json index 367c9e0b..9b54646c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Old Twitter Layout (2022)", "description": "A new extension that returns old Twitter's look.", - "version": "1.1.7", + "version": "1.1.8", "manifest_version": 3, "homepage_url": "https://github.com/dimdenGD/OldTwitter", "background": {