feat: add CSS for calendarCell div
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user