Skip to content

Commit 2f84b8c

Browse files
committed
v1.89
- Dando resposta visual ao deletar categoria
1 parent 224197f commit 2f84b8c

File tree

1 file changed

+2
-2
lines changed
  • src/app/semana/dia/[dia]/components/Categorias/components/Categorie

1 file changed

+2
-2
lines changed

src/app/semana/dia/[dia]/components/Categorias/components/Categorie/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ export default function Categorie({ categorie }: { categorie: CategoriaType }) {
2626
:
2727
`w-full bg-gray-500 flex flex-col justify-betweem items-center rounded overflow-hidden`
2828
}
29-
style={{backgroundColor: categorie.bg_color, color: categorie.text_color}}
29+
style={!loading ? {backgroundColor: categorie.bg_color, color: categorie.text_color}: {}}
3030
>
3131
<h2 className="text-2xl text-center my-2 flex-1">{categorie.title}</h2>
32-
<div className="w-full flex items-center justify-around bg-zinc-800 py-2">
32+
<div className="w-full flex items-center justify-around bg-zinc-800 py-2 scale-105">
3333
<FiEdit className="hover:scale-110 duration-300 cursor-pointer" color="#00ff00" size={27} onClick={() => {setEditCategoria(categorie)}}/>
3434
<FiTrash className="hover:scale-110 duration-300 cursor-pointer" color="#ff0000" size={30} onClick={() => handleDeleteCategorie()}/>
3535
</div>

0 commit comments

Comments
 (0)