mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
feat: apply 12 hour time while event is being made and give rounded corners while creating new event
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user