From cfc5433ff3652eb244a0bbea119141d283cbb3a4 Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Thu, 2 Jul 2026 19:58:30 +0300 Subject: [PATCH] Refactor ConfigCard and SubscriptionCard for improved layout consistency - Updated code elements in ConfigCard and SubscriptionCard to use `min-w-0` for better handling of long text and preventing overflow. - Enhanced the layout of both components to ensure a more uniform appearance and improved user experience when displaying connection strings and subscription URLs. --- frontend/src/features/configs/ConfigCard.tsx | 4 ++-- frontend/src/features/configs/SubscriptionCard.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/features/configs/ConfigCard.tsx b/frontend/src/features/configs/ConfigCard.tsx index 1f092aa..30a684b 100644 --- a/frontend/src/features/configs/ConfigCard.tsx +++ b/frontend/src/features/configs/ConfigCard.tsx @@ -121,7 +121,7 @@ export function ConfigCard({ config }: { config: VpnConfigDto }) {
- + {linkQuery.data.connectionString}

{t('configs.subscriptionLink')}

- + {linkQuery.data.subscriptionUrl}