From 73a552d428e55d91f51191d2f19b8d4fef860457 Mon Sep 17 00:00:00 2001 From: CanadaHonk <19228318+CanadaHonk@users.noreply.github.com> Date: Tue, 28 Jun 2022 21:31:41 +0100 Subject: [PATCH] [Badges] Start to fix sponsor modal --- src/css/sponsorModal.css | 14 +++++++------- src/gmBadges.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/css/sponsorModal.css b/src/css/sponsorModal.css index 8a067846..227fb878 100644 --- a/src/css/sponsorModal.css +++ b/src/css/sponsorModal.css @@ -1,5 +1,5 @@ /* Custom title replacing "Server Boost" */ -#gm-sponsor-modal .headerTitle-1_9Kor { +#gm-sponsor-modal .headerTitle-kLIB73 { background-image: url(https://goosemod.com/img/goose_gold.jpg); background-repeat: no-repeat; @@ -11,7 +11,7 @@ height: 60px; } -#gm-sponsor-modal .headerTitle-1_9Kor::after { +#gm-sponsor-modal .headerTitle-kLIB73::after { font-family: var(--font-display); font-size: 24px; @@ -26,26 +26,26 @@ content: 'GooseMod Sponsor'; } -#gm-sponsor-modal .guildBackground-3UtSZ2 > svg:first-child { /* Hide Lottie hands animation */ +#gm-sponsor-modal .guildBackground-3BSNJY > svg:first-child { /* Hide Lottie hands animation */ display: none; } -#gm-sponsor-modal .contentWrapper-3INYJy { +#gm-sponsor-modal .content-2eQb8J { padding: 16px; padding-right: 8px; } -#gm-sponsor-modal .contentWrapper-3INYJy > div > div:not(:last-child) { +#gm-sponsor-modal .content-2eQb8J > div:not(:last-child) { margin-bottom: 32px; } -#gm-sponsor-modal .contentWrapper-3INYJy > div > .footer-2gL1pp { +#gm-sponsor-modal .footer-31IekZ { left: -16px; top: 16px; width: calc(100% - 8px); } -#gm-sponsor-modal .contentWrapper-3INYJy > div > div:first-child { +#gm-sponsor-modal .content-2eQb8J > div:first-child { font-family: var(--font-primary); font-size: 16px; line-height: 20px; diff --git a/src/gmBadges.js b/src/gmBadges.js index a85cb135..07c739a8 100644 --- a/src/gmBadges.js +++ b/src/gmBadges.js @@ -17,7 +17,7 @@ const showSponsorModal = () => { const { Button } = goosemodScope.webpackModules.findByPropsAll('Button')[1]; const ButtonClasses = goosemodScope.webpackModules.findByProps('button', 'colorRed'); - const { PremiumGuildSubscriptionPurchaseModal } = goosemodScope.webpackModules.findByProps('PremiumGuildSubscriptionPurchaseModal'); + const { PremiumGuildSubscriptionPurchaseModal } = goosemod.webpackModules.findByProps('GuildBoostPurchaseModal'); const parent = { default: PremiumGuildSubscriptionPurchaseModal };