Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: gantt overflow (#3804)

Aaryan Khandelwale1d73057ae52
diff --git a/web/components/gantt-chart/chart/views/month.tsx b/web/components/gantt-chart/chart/views/month.tsx
index 3bfd077fe7..b67b453f1e 100644
--- a/web/components/gantt-chart/chart/views/month.tsx
+++ b/web/components/gantt-chart/chart/views/month.tsx
@@ -15,9 +15,9 @@ export const MonthChartView: FC<any> = observer(() => {
const monthBlocks: IMonthBlock[] = renderView;
return (
- <div className="absolute top-0 left-0 h-full w-max flex divide-x divide-custom-border-100/50">
+ <div className="absolute top-0 left-0 min-h-full h-max w-max flex divide-x divide-custom-border-100/50">
{monthBlocks?.map((block, rootIndex) => (
- <div key={`month-${block?.month}-${block?.year}`} className="relative">
+ <div key={`month-${block?.month}-${block?.year}`} className="relative flex flex-col">
<div
className="w-full sticky top-0 z-[5] bg-custom-background-100"
style={{
diff --git a/yarn.lock b/yarn.lock
index fc53aade69..f413d1a44f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2812,7 +2812,7 @@
dependencies:
"@types/react" "*"
-"@types/react@*", "@types/react@^18.2.42":
+"@types/react@*", "@types/[email protected]", "@types/react@^18.2.42":
version "18.2.42"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.42.tgz#6f6b11a904f6d96dda3c2920328a97011a00aba7"
integrity sha512-c1zEr96MjakLYus/wPnuWDo1/zErfdU9rNsIGmE+NV71nx88FG9Ttgo5dqorXTu/LImX2f63WBP986gJkMPNbA==