From bd54399cfd545564653a7e3a992b230675ddf23c Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Mon, 11 Nov 2024 14:11:01 +0100 Subject: [PATCH] fix(Calendar Header): adds responsiveness to the calendar header and the view button group next to the header --- public/css/components/calendar.css | 2 +- public/js/components/Calendar/Header.js | 55 +++++++++++++------------ 2 files changed, 30 insertions(+), 27 deletions(-) diff --git a/public/css/components/calendar.css b/public/css/components/calendar.css index 93c351120..157836afc 100644 --- a/public/css/components/calendar.css +++ b/public/css/components/calendar.css @@ -77,7 +77,7 @@ /*width: calc(100% + 1.5em);*/ height: calc(100% + 1.5em); } -.fhc-calendar-day-page .flex-column > div { +.fhc-calendar-day-page .flex-column > .flex-grow-1 { padding-left: 3em; } .fhc-calendar-day-page .flex-column { diff --git a/public/js/components/Calendar/Header.js b/public/js/components/Calendar/Header.js index aece861b4..07fc58ceb 100644 --- a/public/js/components/Calendar/Header.js +++ b/public/js/components/Calendar/Header.js @@ -7,6 +7,7 @@ export default { month:"Monat", day: "Tag", }, + headerPadding:null, } }, inject: [ @@ -44,36 +45,38 @@ export default { return c; } }, - template: ` + template: /*html*/`
- -
-
-
- +
+
+
+
+ +
+
+
+ +
+
+
+ +
-
-
- -
-
- -
-
-
- +
+
+
+
+ +
-
- -
` } \ No newline at end of file