restores side bar and conversation transition

This commit is contained in:
ajaythapliyal
2023-02-18 21:57:55 +05:30
parent 2b475ab5a5
commit f82ed1ecee
2 changed files with 48 additions and 63 deletions

View File

@@ -9,13 +9,13 @@ export default function App() {
const [navState, setNavState] = useState<ActiveState>('ACTIVE');
return (
<div className="min-h-full min-w-full transition-all">
<div className="min-h-full min-w-full">
<Navigation
navState={navState}
setNavState={(val: ActiveState) => setNavState(val)}
/>
<div
className={`${
className={`transition-all duration-200 ${
navState === 'ACTIVE' ? 'ml-0 md:ml-72 lg:ml-96' : ' ml-0 md:ml-16'
}`}
>