mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-23 05:07:44 +00:00
Implement scrollable content in dashboard layout (#33)
This commit is contained in:
parent
42ec846ff2
commit
7799e0337b
@ -9,8 +9,8 @@ const Dashboard = () => {
|
|||||||
<div className="h-full">
|
<div className="h-full">
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
</div>
|
</div>
|
||||||
<div className="col-span-4 h-full p-3">
|
<div className="col-span-4 h-full p-3 overflow-y-hidden">
|
||||||
<div className="bg-white rounded-3xl h-full">
|
<div className="bg-white rounded-3xl h-full overflow-y-auto">
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,22 +8,26 @@ import ProjectSearchBar from '../components/projects/ProjectSearchBar';
|
|||||||
const ProjectSearch = () => {
|
const ProjectSearch = () => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className="flex p-5">
|
<div className="sticky top-0 bg-white z-30">
|
||||||
<div className="grow mr-2">
|
<div className="flex p-5">
|
||||||
<ProjectSearchBar onChange={() => {}} />
|
<div className="grow mr-2">
|
||||||
</div>
|
<ProjectSearchBar onChange={() => {}} />
|
||||||
<IconButton color="blue" className="rounded-full mr-2">
|
</div>
|
||||||
<Typography variant="h5">+</Typography>
|
<IconButton color="blue" className="rounded-full mr-2">
|
||||||
</IconButton>
|
<Typography variant="h5">+</Typography>
|
||||||
<div className="mr-2 flex items-center">
|
</IconButton>
|
||||||
<Typography>^</Typography>
|
<div className="mr-2 flex items-center">
|
||||||
</div>
|
<Typography>^</Typography>
|
||||||
<div className="px-2 py-1 bg-blue-gray-50 rounded-lg">
|
</div>
|
||||||
<Typography variant="lead">SY</Typography>
|
<div className="px-2 py-1 bg-blue-gray-50 rounded-lg">
|
||||||
|
<Typography variant="lead">SY</Typography>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<HorizontalLine />
|
||||||
|
</div>
|
||||||
|
<div className="z-0">
|
||||||
|
<Outlet />
|
||||||
</div>
|
</div>
|
||||||
<HorizontalLine />
|
|
||||||
<Outlet />
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user