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>
|
||||
|
||||
{/* 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">
|
||||
<div className="flex items-center justify-between mb-3">
|
||||
<div className="flex items-center gap-4">
|
||||
|
|
@ -966,25 +966,25 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) {
|
|||
style: "currency",
|
||||
currency: "BRL",
|
||||
}).format(columnTotals.valorRealizado)}
|
||||
</div>
|
||||
</div>
|
||||
<div className={`w-[130px] text-right font-semibold ${columnTotals.valorPrevisto < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
||||
{new Intl.NumberFormat("pt-BR", {
|
||||
style: "currency",
|
||||
currency: "BRL",
|
||||
}).format(columnTotals.valorPrevisto)}
|
||||
</div>
|
||||
</div>
|
||||
<div className={`w-[140px] text-right font-semibold ${columnTotals.valorConfirmado < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
||||
{new Intl.NumberFormat("pt-BR", {
|
||||
style: "currency",
|
||||
currency: "BRL",
|
||||
}).format(columnTotals.valorConfirmado)}
|
||||
</div>
|
||||
</div>
|
||||
<div className={`w-[130px] text-right font-semibold ${columnTotals.valorPago < 0 ? 'text-red-600 font-semibold' : 'text-gray-800'}`}>
|
||||
{new Intl.NumberFormat("pt-BR", {
|
||||
style: "currency",
|
||||
currency: "BRL",
|
||||
}).format(columnTotals.valorPago)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Espaçamento para o resto */}
|
||||
<div className="flex-1"></div> {/* Historico */}
|
||||
|
|
|
|||
Loading…
Reference in New Issue