Prevent product action button wrapping
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 42s

This commit is contained in:
Cauê Faleiros
2026-07-06 13:40:02 -03:00
parent a73b776020
commit dae0b227c1

View File

@@ -575,7 +575,7 @@ const Products = () => {
) : ( ) : (
<div className={`bg-white dark:bg-dark-card border border-zinc-200 dark:border-dark-border rounded-2xl overflow-hidden shadow-sm ${isRefreshing ? 'refreshing-content' : ''}`} aria-busy={isRefreshing}> <div className={`bg-white dark:bg-dark-card border border-zinc-200 dark:border-dark-border rounded-2xl overflow-hidden shadow-sm ${isRefreshing ? 'refreshing-content' : ''}`} aria-busy={isRefreshing}>
<div className="overflow-x-auto"> <div className="overflow-x-auto">
<table className="w-full min-w-[1320px] table-fixed text-left text-sm"> <table className="w-full min-w-[1360px] table-fixed text-left text-sm">
<colgroup> <colgroup>
<col className="w-[120px]" /> <col className="w-[120px]" />
<col className="w-[390px]" /> <col className="w-[390px]" />
@@ -585,7 +585,7 @@ const Products = () => {
<col className="w-[130px]" /> <col className="w-[130px]" />
<col className="w-[130px]" /> <col className="w-[130px]" />
<col className="w-[140px]" /> <col className="w-[140px]" />
<col className="w-[110px]" /> <col className="w-[150px]" />
</colgroup> </colgroup>
<thead className="bg-zinc-50 dark:bg-dark-header border-b border-zinc-100 dark:border-dark-border text-zinc-500 dark:text-dark-muted"> <thead className="bg-zinc-50 dark:bg-dark-header border-b border-zinc-100 dark:border-dark-border text-zinc-500 dark:text-dark-muted">
<tr> <tr>
@@ -632,10 +632,10 @@ const Products = () => {
</span> </span>
</td> </td>
<td className="px-6 py-2.5 text-brand-primary font-bold whitespace-nowrap">{formatCurrency(product.revenue)}</td> <td className="px-6 py-2.5 text-brand-primary font-bold whitespace-nowrap">{formatCurrency(product.revenue)}</td>
<td className="px-6 py-2.5 text-right"> <td className="px-4 py-2.5 text-right">
<Link <Link
to={`/products/${product.id}`} to={`/products/${product.id}`}
className="inline-flex items-center text-xs font-bold text-brand-primary hover:opacity-80 transition-opacity bg-brand-primary/10 px-3 py-1.5 rounded-lg cursor-pointer" className="inline-flex items-center whitespace-nowrap text-xs font-bold text-brand-primary hover:opacity-80 transition-opacity bg-brand-primary/10 px-3 py-1.5 rounded-lg cursor-pointer"
> >
<TrendingUp className="w-3.5 h-3.5 mr-1.5" /> <TrendingUp className="w-3.5 h-3.5 mr-1.5" />
Ver Gráfico Ver Gráfico