Fix margin issue on category pill tooltip

This commit is contained in:
Ajay
2023-05-08 20:16:44 -04:00
parent c6c3bd3a3d
commit 9d6e23d171
2 changed files with 5 additions and 1 deletions

View File

@@ -187,6 +187,10 @@ div:hover > .sponsorBlockChapterBar {
margin-right: var(--skip-notice-margin); margin-right: var(--skip-notice-margin);
} }
.sponsorSkipObjectFirst {
margin-left: 0;
}
.sponsorSkipLogo { .sponsorSkipLogo {
height: 18px; height: 18px;

View File

@@ -67,7 +67,7 @@ export class Tooltip {
</img> </img>
: null} : null}
{this.text ? {this.text ?
<span className="sponsorSkipObject"> <span className={`sponsorSkipObject${!props.showLogo ? ` sponsorSkipObjectFirst` : ``}`}>
{this.text + (props.link ? ". " : "")} {this.text + (props.link ? ". " : "")}
{props.link ? {props.link ?
<a style={{textDecoration: "underline"}} <a style={{textDecoration: "underline"}}