mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +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;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.liveEntry {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.uiFileHandler .uiButton {
|
.uiFileHandler .uiButton {
|
||||||
border-radius: 32px !important;
|
border-radius: 32px !important;
|
||||||
color: var(--text-primary) !important;
|
color: var(--text-primary) !important;
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ async function handleTimetable(): Promise<void> {
|
|||||||
|
|
||||||
// Convert time format if needed
|
// Convert time format if needed
|
||||||
if (settingsState.timeFormat == "12") {
|
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) {
|
for (const time of times) {
|
||||||
if (!time.textContent) continue;
|
if (!time.textContent) continue;
|
||||||
time.textContent = convertTo12HourFormat(time.textContent, true);
|
time.textContent = convertTo12HourFormat(time.textContent, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user