diff --git a/src/components/Calendar.tsx b/src/components/Calendar.tsx index d8004e9..f20b12c 100644 --- a/src/components/Calendar.tsx +++ b/src/components/Calendar.tsx @@ -65,7 +65,7 @@ const Calendar = ({ secrets }: { secrets: SecretsCalendar }) => { eventTable.push( {event.summary} - {startDate.getHours()}:{startDate.getMinutes().toString().padStart(2, "0")} + {startDate.getHours()}:{startDate.getMinutes().toString().padStart(2, "0")} ) } diff --git a/src/styles/containers/Calendar.module.css b/src/styles/containers/Calendar.module.css index 797355a..a3e23fd 100644 --- a/src/styles/containers/Calendar.module.css +++ b/src/styles/containers/Calendar.module.css @@ -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; diff --git a/src/styles/containers/News.module.css b/src/styles/containers/News.module.css index 7fd0bef..f7b9802 100644 --- a/src/styles/containers/News.module.css +++ b/src/styles/containers/News.module.css @@ -10,7 +10,7 @@ } .inner table { - animation: newsSlider 60s linear 0s infinite normal; + animation: newsSlider 100s linear 0s infinite normal; border-collapse: collapse; }