From 493de23a1dc678f33af7878dbc5cd981daebb3c5 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Sun, 31 May 2026 19:38:56 +0300 Subject: [PATCH] fix(admin-remnawave): scope the mobile orphan-fill to small screens only The `nth-child(odd)` orphan rule outweighed the desktop reset (higher specificity), so a lone trailing stat card was stretched full-width on desktop too. Use the `max-lg`/`max-sm` variants so the fill applies only below the multi-column breakpoint; desktop keeps the normal grid. --- src/pages/AdminRemnawave.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/AdminRemnawave.tsx b/src/pages/AdminRemnawave.tsx index ea66de4..d28b578 100644 --- a/src/pages/AdminRemnawave.tsx +++ b/src/pages/AdminRemnawave.tsx @@ -373,7 +373,7 @@ function OverviewTab({ {t('admin.remnawave.overview.system', 'System')} -
+
{t('admin.remnawave.overview.bandwidth', 'Inbound Traffic')} -
+
{t('admin.remnawave.overview.server', 'Server')} -
+
{t('admin.remnawave.overview.traffic', 'Traffic Statistics')} -
+
{t('admin.remnawave.overview.usersByStatus', 'Users by Status')} -
+
{Object.entries(stats.users_by_status).map(([status, count]) => ( {t('admin.remnawave.overview.panel', 'Панель')} -
+
1 ? ` · ${health.instances}` : ''} -
+
{/* Stats */} -
+
{/* Stats */} -
+