From ee33bb85622852a0ae76910994fde8665c6a3215 Mon Sep 17 00:00:00 2001 From: yusukesaitoh Date: Sun, 29 Mar 2020 13:26:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=81=A7=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=82=B5=E3=82=A4?= =?UTF-8?q?=E3=82=BA=E3=82=92=E5=A4=89=E6=9B=B4=E3=81=99=E3=82=8B=E3=81=A8?= =?UTF-8?q?=E3=83=88=E3=83=AC=E3=83=B3=E3=83=89=E7=AD=89=E3=81=8C=E9=9A=A0?= =?UTF-8?q?=E3=82=8C=E3=81=AA=E3=81=84=E4=B8=8D=E5=85=B7=E5=90=88=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/styles/contentscript.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/styles/contentscript.scss b/app/styles/contentscript.scss index 7d9a9b0..4651530 100644 --- a/app/styles/contentscript.scss +++ b/app/styles/contentscript.scss @@ -6,20 +6,20 @@ body { } &.isTrendsHidden { - div[data-testid="sidebarColumn"] div.css-1dbjc4n.r-1l5qxre.r-m611by > div:not(:first-child):not(:last-child) { + div[data-testid="sidebarColumn"] > div > div > div > div > div.css-1dbjc4n > div:not(:first-child):not(:last-child) { display: none !important; } - div[data-testid="sidebarColumn"] div.css-1dbjc4n.r-1l5qxre.r-m611by > div:last-child { + div[data-testid="sidebarColumn"] > div > div > div > div > div.css-1dbjc4n > div:last-child { margin-top: 60px !important; } } &.isReactionNumberHidden { - div[data-testid="primaryColumn"] article div.r-1mdbhws span.r-1n0xq6e { + div[data-testid="primaryColumn"] article div[role="group"] div[role="button"] span { opacity: 0 !important; transition-property: transform, opacity !important; } - div[data-testid="primaryColumn"] article:hover div.r-1mdbhws span.r-1n0xq6e { + div[data-testid="primaryColumn"] article:hover div[role="group"] div[role="button"] span { opacity: 1 !important; } } @@ -28,8 +28,8 @@ body { header[role="banner"] h1[role="heading"] { &::after { position: absolute; - left: 56px; - top: 15px; + left: 3.75em; + top: 1em; display: inline-block; width: 120px; font-weight: 700; From 82932bcd58bf029b1ac07b2d720bcf851707a70e Mon Sep 17 00:00:00 2001 From: yusukesaitoh Date: Sun, 29 Mar 2020 13:26:30 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=82=92=E4=B8=8A=E3=81=92=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/manifest.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/manifest.json b/app/manifest.json index 94fc4c5..97a7d83 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -2,7 +2,7 @@ "name": "__MSG_appName__", "short_name": "__MSG_appShortName__", "description": "__MSG_appDescription__", - "version": "1.0.0", + "version": "1.0.1", "manifest_version": 2, "default_locale": "en", "icons": { diff --git a/package.json b/package.json index 1b04888..ef33a63 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "calm-twitter", "private": true, - "version": "1.0.0", + "version": "1.0.1", "description": "This extension hides trending information from twitter timelines to make your mind calm.", "scripts": { "start": "npm run dev:chrome",