fixed a layout issue in the proxy menu, now all cards are the same size

This commit is contained in:
coolcoala
2025-07-21 01:56:24 +03:00
parent e7208dd7d2
commit 9271b107b6

View File

@@ -66,7 +66,7 @@ export const ProxyItemMini = (props: Props) => {
title={`${proxy.name}\n${proxy.now ?? ""}`}
className="group relative flex h-16 cursor-pointer items-center justify-between rounded-lg border bg-card p-3 shadow-sm transition-colors duration-200 hover:bg-accent data-[selected=true]:ring-2 data-[selected=true]:ring-primary"
>
<div className="flex-1 min-w-0">
<div className="flex-1 min-w-0 w-0">
<p className="truncate text-sm font-medium">{proxy.name}</p>
{showType && (