From 354a3a1316aae25c54b779d5e06ef24afb3c5ff7 Mon Sep 17 00:00:00 2001 From: dharshib Date: Thu, 27 Jun 2024 09:24:38 +0530 Subject: [PATCH] fixed the display issue --- src/Components/menu_section/new_project/NewProject.css | 5 ++--- src/Components/menu_section/new_project/NewProject.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Components/menu_section/new_project/NewProject.css b/src/Components/menu_section/new_project/NewProject.css index 7c1e64c2..482f1db5 100644 --- a/src/Components/menu_section/new_project/NewProject.css +++ b/src/Components/menu_section/new_project/NewProject.css @@ -12,14 +12,13 @@ form { width: 100%; color: white; margin-bottom: 18px; - animation-name: fadeIn; + animation-name: Animate; animation-duration: 1s; animation-fill-mode: forwards; animation-iteration-count: 1; opacity: 0; transform: translateY(10px); transform: scale(0.5); - } input, textarea { width: 100%; @@ -108,7 +107,7 @@ span { font-size: 14px; margin-bottom: 5px; } -@keyframes fadeIn { +@keyframes Animate { 0% { transform: translateY(20px); transform: scale(0.5); diff --git a/src/Components/menu_section/new_project/NewProject.js b/src/Components/menu_section/new_project/NewProject.js index 2e4c1da1..3051aa1b 100644 --- a/src/Components/menu_section/new_project/NewProject.js +++ b/src/Components/menu_section/new_project/NewProject.js @@ -39,7 +39,7 @@ function NewProject() { setSelectedSkills(prev => [...prev, val]) } setSuggestions([]) - onInputChange("skill", "") + setData(prev => ({ ...prev, "skill": "" })); } const removeSkill = (val) => {