Update ConfigCard layout for improved responsiveness
CI / Backend (build + test) (push) Successful in 1m14s
CI / Frontend (lint + typecheck + build) (push) Successful in 29s

- Modified the layout of the ConfigCard component by changing the class from `flex gap-2` to `flex flex-wrap gap-2`, enhancing the responsiveness and visual organization of the button elements.
This commit is contained in:
Leonid Pershin
2026-07-02 20:13:59 +03:00
parent cfc5433ff3
commit 66d6584835
+1 -1
View File
@@ -83,7 +83,7 @@ export function ConfigCard({ config }: { config: VpnConfigDto }) {
</span>
<span>{config.deviceLimit > 0 ? t('configs.deviceLimit', { count: config.deviceLimit }) : t('configs.deviceLimitUnlimited')}</span>
</div>
<div className="flex gap-2">
<div className="flex flex-wrap gap-2">
<Button size="sm" variant="outline" onClick={() => setDetailsOpen(true)}>
<QrCode className="h-4 w-4" />
{t('configs.showLink')}