mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-16 00:17:05 +03:00
Fix margin issue on category pill tooltip
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user