Skip to content

Commit

Permalink
project portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
chestergarett committed Nov 10, 2024
1 parent 5e96ea4 commit e84ae77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/dashboards/portfolio/Portfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ReactGridLayout, {Responsive, WidthProvider} from 'react-grid-layout';
import Project from './cards/Project';

const layout = [
{ i: "project", x: 0, y:0, w: 8, h: 6, minW: 8, minH: 6, card: <Project/>},
{ i: "project", x: 0, y:0, w: 16, h: 6, minW: 16, minH: 6, card: <Project/>},
]

const ResponsiveGridLayout = WidthProvider(ReactGridLayout);
Expand All @@ -27,7 +27,7 @@ const Portfolio = () => {
// layout={{ lg : savedLayout ? JSON.parse(savedLayout) : layout}}
// breakpoints={{ lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0 }}
// cols={{ lg: 5, md: 4, sm: 3, xs: 2, xxs: 1 }}
rowHeight={50}
rowHeight={100}
isDraggable={editMode}
isRearrangeable={editMode}
isResizable={editMode}
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboards/portfolio/cards/Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Project = () => {
}, []);

return (
<div>
<div class='flex flex-col w-screen'>
<ListSubheader component="div">Portfolio</ListSubheader>
<div className="flex flex-row p-2">
{portfolio ? portfolio.map((item) => (
Expand Down

0 comments on commit e84ae77

Please sign in to comment.