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/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; 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",