diff --git a/dashboard/src/components/Sidebar.tsx b/dashboard/src/components/Sidebar.tsx index c769016..6b64fa5 100644 --- a/dashboard/src/components/Sidebar.tsx +++ b/dashboard/src/components/Sidebar.tsx @@ -78,12 +78,12 @@ const Sidebar = (props: SidebarProps) => { const MapacheHeader = (props: { isSidebarExpanded: boolean }) => { return ( -
-
+
+

Mapache

@@ -111,17 +111,17 @@ const Sidebar = (props: SidebarProps) => { }} >
-
+
{props.text}
@@ -141,26 +141,26 @@ const Sidebar = (props: SidebarProps) => { className={`mx-2 my-2 flex cursor-pointer items-center overflow-hidden rounded-lg bg-gradient-to-br from-gr-pink to-gr-purple bg-[length:100%_100%] p-[2px] transition-all duration-150`} onClick={(e) => e.stopPropagation()} > -
-
+
+
-
-
+
+
{currentVehicle.name}
-
+
{currentVehicle.id} • {currentVehicle.type}
-
+
@@ -286,4 +286,4 @@ const Sidebar = (props: SidebarProps) => { ); }; -export default Sidebar; +export default Sidebar; \ No newline at end of file diff --git a/dashboard/src/index.css b/dashboard/src/index.css index 61ccd5c..0b3bd76 100644 --- a/dashboard/src/index.css +++ b/dashboard/src/index.css @@ -118,5 +118,8 @@ } .slide-out { - animation: slideOut 0.3s ease forwards; + opacity: 0; + transform: translateX(-100%); + width: 0; + transition: all 0.3s ease; }