aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--public/content.css4
-rw-r--r--src/render/Tooltip.tsx2
2 files changed, 5 insertions, 1 deletions
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 {
</img>
: null}
{this.text ?
- <span className="sponsorSkipObject">
+ <span className={`sponsorSkipObject${!props.showLogo ? ` sponsorSkipObjectFirst` : ``}`}>
{this.text + (props.link ? ". " : "")}
{props.link ?
<a style={{textDecoration: "underline"}}