mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-27 04:40:49 +03:00
Fix layout on donation button
This commit is contained in:
@@ -591,6 +591,8 @@
|
|||||||
#sponsorTimesDonateContainer a {
|
#sponsorTimesDonateContainer a {
|
||||||
color: var(--sb-main-fg-color);
|
color: var(--sb-main-fg-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ function TimeSavedMessage({ viewCount, minutesSaved }: { viewCount: number; minu
|
|||||||
|
|
||||||
function DonateMessage(props: { onClose: () => void }): JSX.Element {
|
function DonateMessage(props: { onClose: () => void }): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<div id="sponsorTimesDonateContainer" style={{ alignItems: "center", justifyContent: "center" }}>
|
<div id="sponsorTimesDonateContainer" style={{ alignItems: "center", justifyContent: "center", display: "flex" }}>
|
||||||
<img className="sbHeart" src="/icons/heart.svg" alt="Heart icon" />
|
<img className="sbHeart" src="/icons/heart.svg" alt="Heart icon" />
|
||||||
<a id="sbConsiderDonateLink" href="https://sponsor.ajay.app/donate" target="_blank" rel="noreferrer" onClick={() => {
|
<a id="sbConsiderDonateLink" href="https://sponsor.ajay.app/donate" target="_blank" rel="noreferrer" onClick={() => {
|
||||||
Config.config.donateClicked = Config.config.donateClicked + 1;
|
Config.config.donateClicked = Config.config.donateClicked + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user