feat: apply 12 hour time while event is being made and give rounded corners while creating new event

This commit is contained in:
Jones
2025-07-16 17:58:31 +09:30
parent 77074f085a
commit 9911966fe7
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1987,6 +1987,10 @@ div.entry.new {
border-radius: 4px;
}
div.liveEntry {
border-radius: 4px;
}
.uiFileHandler .uiButton {
border-radius: 32px !important;
color: var(--text-primary) !important;
+1 -1
View File
@@ -67,7 +67,7 @@ async function handleTimetable(): Promise<void> {
// Convert time format if needed
if (settingsState.timeFormat == "12") {
const times = document.querySelectorAll(".timetablepage .times .time");
const times = document.querySelectorAll(".timetablepage .times .time, .timetablepage .liveentry, .timetablepage .entry.new");
for (const time of times) {
if (!time.textContent) continue;
time.textContent = convertTo12HourFormat(time.textContent, true);