Retrying
This commit is contained in:
@@ -24,8 +24,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.calendar {
|
.calendar {
|
||||||
display: grid;
|
// display: grid;
|
||||||
grid-template-columns: auto repeat(5, 1fr);
|
// grid-template-columns: auto repeat(5, 1fr);
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,11 @@ const Calendar: React.FC = (props) => {
|
|||||||
))}
|
))}
|
||||||
</div> */}
|
</div> */}
|
||||||
|
|
||||||
|
{grid.map((row, rowIndex) => (
|
||||||
|
<div className={styles.row} key={rowIndex}>
|
||||||
|
{row}
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,19 +1,6 @@
|
|||||||
.calendarCell {
|
.calendarCell {
|
||||||
display: flex;
|
flex: 1;
|
||||||
width: 165px;
|
border: 1px solid #ddd;
|
||||||
height: 52.231px;
|
min-height: 50px;
|
||||||
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 */
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -8,7 +8,9 @@ import styles from './CalendarGridCell.module.scss';
|
|||||||
const CalendarCell: React.FC = (props) => {
|
const CalendarCell: React.FC = (props) => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.calendarCell}>
|
<div className={styles.calendarCell}>
|
||||||
<div className={styles.hourLine}></div>
|
<div className={styles.hourLine}>
|
||||||
|
TEMP
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user