style: changed the workspace cards height (#558)

This commit is contained in:
kunalv17 2023-03-28 14:17:24 +05:30 committed by GitHub
parent fbbf97f3a6
commit fc4d06fe0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ export const IssuesList: React.FC<Props> = ({ issues, type }) => {
<div> <div>
<h3 className="mb-2 font-semibold capitalize">{type} Issues</h3> <h3 className="mb-2 font-semibold capitalize">{type} Issues</h3>
{issues ? ( {issues ? (
<div className="rounded-[10px] border bg-white p-4 text-sm"> <div className="rounded-[10px] border bg-white p-4 text-sm h-[calc(100%-2.25rem)]">
<div <div
className={`mb-2 grid grid-cols-4 gap-2 rounded-lg px-3 py-2 font-medium ${ className={`mb-2 grid grid-cols-4 gap-2 rounded-lg px-3 py-2 font-medium ${
type === "overdue" ? "bg-red-100" : "bg-gray-100" type === "overdue" ? "bg-red-100" : "bg-gray-100"

View File

@ -80,7 +80,7 @@ export const IssuesPieChart: React.FC<Props> = ({ groupedIssues }) => {
<div> <div>
<h3 className="mb-2 font-semibold">Issues by States</h3> <h3 className="mb-2 font-semibold">Issues by States</h3>
<div className="rounded-[10px] border bg-white p-4"> <div className="rounded-[10px] border bg-white p-4">
<ResponsiveContainer width="100%" height={250}> <ResponsiveContainer width="100%" height={320}>
<PieChart> <PieChart>
<Pie <Pie
data={groupedIssues} data={groupedIssues}