From 263bf96e861331db088c3451bc069b4c1c1f65eb Mon Sep 17 00:00:00 2001 From: devgabrielnascimento Date: Tue, 4 Jun 2024 01:24:05 -0300 Subject: [PATCH] =?UTF-8?q?:bug:=20corrigindo=20problema=20no=20nvbar=20dr?= =?UTF-8?q?op=20down,=20add=20tamanho=20nome,=20definindo=20express=C3=B5e?= =?UTF-8?q?s=20regulares?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navbar/Navbar.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/navbar/Navbar.tsx b/src/components/navbar/Navbar.tsx index e67eed7..d3fdcca 100644 --- a/src/components/navbar/Navbar.tsx +++ b/src/components/navbar/Navbar.tsx @@ -63,7 +63,7 @@ function Navbar() {
-
+
    -
  • Olá,
  • {usuario.nome.split(" ")[0]}!
  • +
  • Olá,
  • {usuario.nome.split(" ")[0].length > 24 ? usuario.nome.replace(/(.{24})..+/, "$1...") : usuario.nome.split(" ")[0]}!
    -
  • +
  • - Meu perfil +

    Meu perfil

    Sair Ícone de saída