diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.module.scss b/src/views/components/common/CalendarGrid/CalendarGrid.module.scss index ef7f5d59..4ccc79e7 100644 --- a/src/views/components/common/CalendarGrid/CalendarGrid.module.scss +++ b/src/views/components/common/CalendarGrid/CalendarGrid.module.scss @@ -24,8 +24,8 @@ } .calendar { - display: grid; - grid-template-columns: auto repeat(5, 1fr); + // display: grid; + // grid-template-columns: auto repeat(5, 1fr); gap: 10px; } diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.tsx b/src/views/components/common/CalendarGrid/CalendarGrid.tsx index 36ba3355..df00ed06 100644 --- a/src/views/components/common/CalendarGrid/CalendarGrid.tsx +++ b/src/views/components/common/CalendarGrid/CalendarGrid.tsx @@ -41,6 +41,11 @@ const Calendar: React.FC = (props) => { ))} */} + {grid.map((row, rowIndex) => ( +
+ {row} +
+ ))} ) }; diff --git a/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss b/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss index a728b1b1..c1429304 100644 --- a/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss +++ b/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss @@ -1,19 +1,6 @@ .calendarCell { - display: flex; - width: 165px; - height: 52.231px; - min-width: 45px; - min-height: 40px; - flex-direction: column; - justify-content: center; - align-items: flex-start; - } - - .hourLine { - position: absolute; - left: 0; - right: 0; - top: 50%; - border-top: 1px solid black; /* Adjust line styles as needed */ - } + flex: 1; + border: 1px solid #ddd; + min-height: 50px; +} \ No newline at end of file diff --git a/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx b/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx index 03bbfdf0..69e451db 100644 --- a/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx +++ b/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx @@ -8,7 +8,9 @@ import styles from './CalendarGridCell.module.scss'; const CalendarCell: React.FC = (props) => { return (
-
+
+ TEMP +
); };