update App.js, src/components/Sidebar/SidebarDesign2/index.js and src/components/Sidebar/SidebarMenu/index.js

master
mahdi 2 years ago
parent 7a253f48b9
commit 8c7ef9f7da
  1. 2
      src/components/Sidebar/SidebarDesign2/index.js
  2. 2
      src/components/Sidebar/SidebarMenu/index.js

@ -23,7 +23,7 @@ const SidebarMenu = ({ items, buttons, username, userJob, className }) => {
return ( return (
<div <div
className={`${className} w-fit bg-white p-5 h-screen overflow-y-auto scrollYDesign shadow-sm border border-gray-300 rounded relative`} className={`${className} w-fit bg-white p-4 overflow-y-auto scrollYDesign shadow-sm border border-gray-300 rounded relative`}
> >
{/* profile */} {/* profile */}
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">

@ -19,7 +19,7 @@ import Switch from "../../Switch";
const SidebarMenu = ({ items, buttons }) => { const SidebarMenu = ({ items, buttons }) => {
return ( return (
<section> <section>
<div className="w-fit bg-white p-5 h-screen shadow-sm border border-gray-300 rounded overflow-y-auto scrollYDesign"> <div className="w-fit bg-white p-4 shadow-sm border border-gray-300 rounded overflow-y-auto scrollYDesign">
{/* profile */} {/* profile */}
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
<img src={profilePic} alt="" className="w-12 rounded-full" /> <img src={profilePic} alt="" className="w-12 rounded-full" />

Loading…
Cancel
Save