chore: trying some CSS

This commit is contained in:
doprz
2024-03-06 13:21:35 -06:00
parent dcc8a6d249
commit 0036dc5c80
4 changed files with 18 additions and 24 deletions

View File

@@ -1,18 +1,5 @@
.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;
}

View File

@@ -5,12 +5,14 @@ import styles from './CalendarGridCell.module.scss';
* Component representing each 1 hour time block of a calendar
* @param props
*/
const CalendarCell: React.FC = props => {
return (
<div className={styles.calendarCell}>
<div className={styles.hourLine}></div>
</div>
);
const CalendarCell: React.FC = (props) => {
return (
<div className={styles.calendarCell}>
<div className={styles.hourLine}>
TEMP
</div>
</div>
);
};
export default CalendarCell;