Skip to content

Commit

Permalink
fix: fixed the design inconsistency issue in finance cards (#2581)
Browse files Browse the repository at this point in the history
Co-authored-by: Ansh Goyal <[email protected]>
  • Loading branch information
sagarkori143 and anshgoyalevil authored Jan 26, 2024
1 parent 4efe0ef commit 7607205
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/FinancialSummary/BarChartComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ const categories = getUniqueCategories();
* @param {Object[]} props.links - Links to additional information for each category.
* @returns {JSX.Element} The rendered Card component.
*/

const Card = ({ month, data, links }) => {
return (
<div className="bg-slate-100 shadow-lg rounded-lg p-4 flex flex-col justify-between h-56 overflow-hidden">
<div className="bg-slate-100 shadow-lg rounded-lg p-4 flex flex-col h-56 overflow-hidden">
<div className="text-lg font-semibold mb-4">{month}</div>
<div className="flex flex-col justify-center overflow-x-auto">
<div className="flex flex-col overflow-x-auto overflow-y-auto">
{data.map((item, index) => (
<div key={index} className="flex justify-between">
<div className="text-sm m-2" onClick={(links) => {
Expand Down

0 comments on commit 7607205

Please sign in to comment.