feat: add CSS for calendarCell div

This commit is contained in:
doprz
2024-03-06 13:26:48 -06:00
parent b535a6eb32
commit 6cdcf4930d
3 changed files with 11 additions and 7 deletions

View File

@@ -33,9 +33,7 @@ const Calendar: React.FC = (props) => {
{/* Displaying the rest of the calendar */} {/* Displaying the rest of the calendar */}
<div className={styles.calendarGrid}> <div className={styles.calendarGrid}>
{grid.map((row, rowIndex) => ( {grid.map((row, rowIndex) => (
<div className={styles.row} key={rowIndex}> row
{row}
</div>
))} ))}
</div> </div>

View File

@@ -1,5 +1,11 @@
.calendarCell { .calendarCell {
flex: 1; display: flex;
border: 1px solid #ddd; width: 165px;
min-height: 50px; height: 52.231px;
min-width: 45px;
min-height: 40px;
flex-direction: column;
justify-content: center;
align-items: flex-start;
border: 1px solid #dadce0;
} }

View File

@@ -9,7 +9,7 @@ const CalendarCell: React.FC = (props) => {
return ( return (
<div className={styles.calendarCell}> <div className={styles.calendarCell}>
<div className={styles.hourLine}> <div className={styles.hourLine}>
TEMP
</div> </div>
</div> </div>
); );