Small improvements
This commit is contained in:
parent
90372e12e0
commit
8af6dcd45e
@ -65,7 +65,7 @@ const Calendar = ({ secrets }: { secrets: SecretsCalendar }) => {
|
||||
eventTable.push(
|
||||
<tr key={++i} className={styles.calendarEntry}>
|
||||
<td>{event.summary}</td>
|
||||
<td>{startDate.getHours()}:{startDate.getMinutes().toString().padStart(2, "0")}</td>
|
||||
<td className={styles.entryTime}>{startDate.getHours()}:{startDate.getMinutes().toString().padStart(2, "0")}</td>
|
||||
</tr>
|
||||
)
|
||||
}
|
||||
|
@ -1,26 +1,36 @@
|
||||
.container {
|
||||
grid-area: calendar;
|
||||
}
|
||||
|
||||
.container table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.calendarDateHeader {
|
||||
font-weight: bold;
|
||||
font-size: 2vh;
|
||||
background: rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
.calendarDateHeaderSub {
|
||||
font-size: 1.5vh;
|
||||
padding-top: 0.4vh;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.container table td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.container tr td:first-of-type {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entryTime {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.container tr.calendarEntry {
|
||||
border-top: 1px solid #000000;
|
||||
font-size: 1.8vh;
|
||||
|
@ -10,7 +10,7 @@
|
||||
}
|
||||
|
||||
.inner table {
|
||||
animation: newsSlider 60s linear 0s infinite normal;
|
||||
animation: newsSlider 100s linear 0s infinite normal;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user