From d17f320bd7528c0530ad2e91cb8d86d5f70a5851 Mon Sep 17 00:00:00 2001 From: Hampus Date: Thu, 10 Sep 2026 23:06:18 +0200 Subject: [PATCH] fix(app): tidy the Plutonium billing and pricing layout (#2647) --- .../components/plutonium/PricingSection.module.css | 1 - .../plutonium/PurchaseHistorySection.module.css | 6 ------ .../components/plutonium/PurchaseHistorySection.tsx | 8 +------- fluxer_app/src/features/i18n/locales/ar/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/bg/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/cs/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/da/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/de/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/el/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/en-GB/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/en-US/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/es-419/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/es-ES/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/fi/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/fr/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/he/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/hi/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/hr/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/hu/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/id/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/it/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/ja/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/ko/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/lt/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/nl/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/no/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/pl/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/pt-BR/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/ro/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/ru/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/sv-SE/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/th/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/tr/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/uk/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/vi/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/zh-CN/messages.po | 8 ++------ fluxer_app/src/features/i18n/locales/zh-TW/messages.po | 8 ++------ 37 files changed, 69 insertions(+), 218 deletions(-) diff --git a/fluxer_app/src/features/app/components/dialogs/components/plutonium/PricingSection.module.css b/fluxer_app/src/features/app/components/dialogs/components/plutonium/PricingSection.module.css index c463554e3..ece932bad 100644 --- a/fluxer_app/src/features/app/components/dialogs/components/plutonium/PricingSection.module.css +++ b/fluxer_app/src/features/app/components/dialogs/components/plutonium/PricingSection.module.css @@ -7,7 +7,6 @@ } .toggleContainer { - margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; diff --git a/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.module.css b/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.module.css index b91274e0f..7953ae76e 100644 --- a/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.module.css +++ b/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.module.css @@ -49,12 +49,6 @@ color: var(--text-primary); } -.description { - font-size: 0.8125rem; - line-height: 1.25rem; - color: var(--text-primary-muted); -} - @media (min-width: 768px) { .description { font-size: 0.875rem; diff --git a/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.tsx b/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.tsx index 9eb954c79..64d7dc57c 100644 --- a/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.tsx +++ b/fluxer_app/src/features/app/components/dialogs/components/plutonium/PurchaseHistorySection.tsx @@ -19,7 +19,7 @@ interface PurchaseHistorySectionProps { export const PurchaseHistorySection: React.FC = observer( ({premiumState, loadingPortal, handleOpenCustomerPortal}) => { const invoices = premiumState?.billing.invoices ?? []; - const [invoicesExpanded, setInvoicesExpanded] = useState(invoices.length > 0); + const [invoicesExpanded, setInvoicesExpanded] = useState(false); return (
@@ -28,12 +28,6 @@ export const PurchaseHistorySection: React.FC = obs

Purchase history

-

- - Your recent invoices. To change the payment method for your subscription, add or choose one in the - billing portal and make it the default. - -