From 47a67260a0d55c57180a46b5a882c50edcb65c3d Mon Sep 17 00:00:00 2001 From: gofnnp Date: Wed, 20 Aug 2025 00:25:06 +0400 Subject: [PATCH] subscription-button change button style --- .../SubscriptionTable/SubscriptionTable.module.scss | 9 +++++++++ .../SubscriptionTable/SubscriptionTable.tsx | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.module.scss b/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.module.scss index 02b59df..c781020 100644 --- a/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.module.scss +++ b/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.module.scss @@ -31,3 +31,12 @@ font-weight: 600; } } + +.buttonCancel.buttonCancel { + background-color: transparent; + padding: 0; + + & > .buttonCancelText { + text-decoration: underline; + } +} diff --git a/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.tsx b/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.tsx index 81e7fb0..1883776 100644 --- a/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.tsx +++ b/src/components/domains/profile/subscriptions/SubscriptionTable/SubscriptionTable.tsx @@ -71,7 +71,7 @@ export default function SubscriptionTable({ subscription }: ITableProps) { className={styles.buttonCancel} onClick={() => open(subscription)} > - + {t("table.cancel_subscription")} ,