Compare commits

..

2 Commits

Author SHA1 Message Date
Ajay
14da4b5fcc Merge branch 'master' of https://github.com/ajayyy/SponsorBlock 2023-05-08 20:16:50 -04:00
Ajay
9d6e23d171 Fix margin issue on category pill tooltip 2023-05-08 20:16:44 -04:00
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"}}