mirror of
https://github.com/QwIT-Development/firka-extension.git
synced 2026-06-12 03:41:39 +02:00
Day view refresh
This commit is contained in:
@@ -128,16 +128,23 @@ body {
|
||||
padding: 10px 12px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.bulk-actions-left,
|
||||
.bulk-actions-left {
|
||||
justify-content: space-between;
|
||||
flex-wrap: nowrap;
|
||||
gap: 6px;
|
||||
order: 1;
|
||||
}
|
||||
.bulk-actions-right {
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
order: 2;
|
||||
}
|
||||
.bulk-btn,
|
||||
.view-toggle button {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
flex: 1;
|
||||
}
|
||||
.bulk-btn img,
|
||||
.view-toggle button img {
|
||||
@@ -151,12 +158,19 @@ body {
|
||||
.view-toggle button {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex: 1;
|
||||
}
|
||||
.bulk-btn img,
|
||||
.view-toggle button img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.bulk-actions-left {
|
||||
order: 1;
|
||||
}
|
||||
.bulk-actions-right {
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.messages-grid {
|
||||
|
||||
@@ -1982,8 +1982,10 @@
|
||||
|
||||
dayNavigationState.currentDayIndex = currentDayIndex;
|
||||
} else {
|
||||
const preservedDayIndex = dayNavigationState.currentDayIndex;
|
||||
dayNavigationState.currentDayIndex = preservedDayIndex;
|
||||
if (dayNavigationState.currentDayIndex >= 0 && dayNavigationState.currentDayIndex < 5) {
|
||||
} else {
|
||||
dayNavigationState.currentDayIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function updateDayDisplay() {
|
||||
@@ -2643,6 +2645,7 @@
|
||||
timetableContainer.appendChild(tempDiv.firstChild);
|
||||
}
|
||||
setupLessonCardListeners();
|
||||
setupDayNavigation(weekDates);
|
||||
|
||||
setTimeout(async () => {
|
||||
await updateHomeworkIconsFromCookie();
|
||||
|
||||
Reference in New Issue
Block a user