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 */}
|
||||
<div className={styles.calendarGrid}>
|
||||
{grid.map((row, rowIndex) => (
|
||||
<div className={styles.row} key={rowIndex}>
|
||||
{row}
|
||||
</div>
|
||||
row
|
||||
))}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
.calendarCell {
|
||||
flex: 1;
|
||||
border: 1px solid #ddd;
|
||||
min-height: 50px;
|
||||
display: flex;
|
||||
width: 165px;
|
||||
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 (
|
||||
<div className={styles.calendarCell}>
|
||||
<div className={styles.hourLine}>
|
||||
TEMP
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user