fix calendar layout on mobile

This commit is contained in:
marlon-erler
2024-07-26 06:30:28 +02:00
parent 0c09dfc486
commit 969967ba67
5 changed files with 31 additions and 6 deletions
+14
View File
@@ -59,3 +59,17 @@
> .month-input {
width: 3.1rem;
}
@media (max-width: 1024px) {
#chat-page > div > #main > #calendar-page {
flex-direction: column;
}
#chat-page > div > #main > #calendar-page .month-grid-wrapper {
height: unset;
}
#chat-page > div > #main > #calendar-page .grid-pane-wrapper {
border-bottom: 1px solid var(--border);
}
}
+2 -2
View File
@@ -42,7 +42,7 @@ export function CalendarPage(calendarPageViewModel: CalendarPageViewModel) {
} else {
return (
<div
class="flex-column gap"
class="flex-column gap slide-up"
children:append={[listState, TaskViewModelToEntry]}
></div>
);
@@ -65,7 +65,7 @@ export function CalendarPage(calendarPageViewModel: CalendarPageViewModel) {
return (
<div id="calendar-page">
<div class="pane-wrapper">
<div class="pane-wrapper grid-pane-wrapper">
<div class="pane">
<div class="toolbar">
<span>