From 2786658837fd122ad2d5c04c883da5b4ab399f53 Mon Sep 17 00:00:00 2001 From: Juliana Date: Mon, 4 Nov 2024 01:01:55 -0300 Subject: [PATCH] =?UTF-8?q?altera=C3=A7=C3=A3o=20campo=20TMB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/MetricasConsumo/index.tsx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/MetricasConsumo/index.tsx b/frontend/src/components/MetricasConsumo/index.tsx index 61093cb..9adbb76 100644 --- a/frontend/src/components/MetricasConsumo/index.tsx +++ b/frontend/src/components/MetricasConsumo/index.tsx @@ -27,22 +27,13 @@ export default function MetricasConsumo({ userMG, navigation }: UserProps) { IMC Atual {ImcAtual !== 0 ? ImcAtual.toFixed(2) : ImcAtual} - - - TMB Atual - {TmbAtual !== 0 ? TmbAtual.toFixed(2) : TmbAtual} - - - - IMC Ideal {ImcIdeal !== 0 ? ImcIdeal.toFixed(2) : ImcIdeal} - - TMB Ideal - {TmbIdeal !== 0 ? TmbIdeal.toFixed(2) : TmbIdeal} + TMB + {TmbAtual !== 0 ? TmbAtual.toFixed(2) : TmbAtual} @@ -93,7 +84,7 @@ const styles = StyleSheet.create({ width: 25, height: 25, resizeMode: "contain", - marginTop: -70, // Mantém a posição do botão na mesma altura + marginTop: -30, // Mantém a posição do botão na mesma altura marginRight: 10, alignSelf: 'flex-end', // Posiciona à direita },