fix: ajuste na altura da tabela analitica
This commit is contained in:
parent
31c7c1f3ca
commit
921586b0e1
|
|
@ -824,7 +824,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* DataGridPro */}
|
{/* DataGridPro */}
|
||||||
<Card className="w-full h-[85vh] shadow-lg rounded-2xl">
|
<Card className="w-full h-[40vh] shadow-lg rounded-2xl">
|
||||||
<CardContent className="p-4 h-full">
|
<CardContent className="p-4 h-full">
|
||||||
<div className="flex items-center justify-between mb-3">
|
<div className="flex items-center justify-between mb-3">
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
|
|
@ -966,25 +966,25 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) {
|
||||||
style: "currency",
|
style: "currency",
|
||||||
currency: "BRL",
|
currency: "BRL",
|
||||||
}).format(columnTotals.valorRealizado)}
|
}).format(columnTotals.valorRealizado)}
|
||||||
</div>
|
</div>
|
||||||
<div className={`w-[130px] text-right font-semibold ${columnTotals.valorPrevisto < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
<div className={`w-[130px] text-right font-semibold ${columnTotals.valorPrevisto < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
||||||
{new Intl.NumberFormat("pt-BR", {
|
{new Intl.NumberFormat("pt-BR", {
|
||||||
style: "currency",
|
style: "currency",
|
||||||
currency: "BRL",
|
currency: "BRL",
|
||||||
}).format(columnTotals.valorPrevisto)}
|
}).format(columnTotals.valorPrevisto)}
|
||||||
</div>
|
</div>
|
||||||
<div className={`w-[140px] text-right font-semibold ${columnTotals.valorConfirmado < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
<div className={`w-[140px] text-right font-semibold ${columnTotals.valorConfirmado < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
||||||
{new Intl.NumberFormat("pt-BR", {
|
{new Intl.NumberFormat("pt-BR", {
|
||||||
style: "currency",
|
style: "currency",
|
||||||
currency: "BRL",
|
currency: "BRL",
|
||||||
}).format(columnTotals.valorConfirmado)}
|
}).format(columnTotals.valorConfirmado)}
|
||||||
</div>
|
</div>
|
||||||
<div className={`w-[130px] text-right font-semibold ${columnTotals.valorPago < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
<div className={`w-[130px] text-right font-semibold ${columnTotals.valorPago < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
||||||
{new Intl.NumberFormat("pt-BR", {
|
{new Intl.NumberFormat("pt-BR", {
|
||||||
style: "currency",
|
style: "currency",
|
||||||
currency: "BRL",
|
currency: "BRL",
|
||||||
}).format(columnTotals.valorPago)}
|
}).format(columnTotals.valorPago)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Espaçamento para o resto */}
|
{/* Espaçamento para o resto */}
|
||||||
<div className="flex-1"></div> {/* Historico */}
|
<div className="flex-1"></div> {/* Historico */}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue