Skip to content

Commit 9deb69b

Browse files
committed
Fix layout on donation button
1 parent 26f9a85 commit 9deb69b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

public/popup.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@
591591
#sponsorTimesDonateContainer a {
592592
color: var(--sb-main-fg-color);
593593
text-decoration: none;
594+
595+
padding-left: 5px;
594596
}
595597

596598
/*

src/popup/YourWorkComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function TimeSavedMessage({ viewCount, minutesSaved }: { viewCount: number; minu
191191

192192
function DonateMessage(props: { onClose: () => void }): JSX.Element {
193193
return (
194-
<div id="sponsorTimesDonateContainer" style={{ alignItems: "center", justifyContent: "center" }}>
194+
<div id="sponsorTimesDonateContainer" style={{ alignItems: "center", justifyContent: "center", display: "flex" }}>
195195
<img className="sbHeart" src="/icons/heart.svg" alt="Heart icon" />
196196
<a id="sbConsiderDonateLink" href="https://sponsor.ajay.app/donate" target="_blank" rel="noreferrer" onClick={() => {
197197
Config.config.donateClicked = Config.config.donateClicked + 1;

0 commit comments

Comments
 (0)