From 9d6e23d171592cced9ba237575afdcf3956ade4c Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 8 May 2023 20:16:44 -0400 Subject: Fix margin issue on category pill tooltip --- public/content.css | 4 ++++ src/render/Tooltip.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/content.css b/public/content.css index 0db991c9..2237912d 100644 --- a/public/content.css +++ b/public/content.css @@ -187,6 +187,10 @@ div:hover > .sponsorBlockChapterBar { margin-right: var(--skip-notice-margin); } +.sponsorSkipObjectFirst { + margin-left: 0; +} + .sponsorSkipLogo { height: 18px; diff --git a/src/render/Tooltip.tsx b/src/render/Tooltip.tsx index 7c89dd8e..687ebac3 100644 --- a/src/render/Tooltip.tsx +++ b/src/render/Tooltip.tsx @@ -67,7 +67,7 @@ export class Tooltip { : null} {this.text ? - + {this.text + (props.link ? ". " : "")} {props.link ?