Samson Mutunga 2 жил өмнө
parent
commit
ded84282c1

+ 1 - 9
public/fullcalendar-5.3.2/lib/main.css

@@ -1,12 +1,4 @@
-.fc {
-  width: 100% !important;
-}
-.fc table.fc-col-header {
-  width: 100% !important;
-}
-.fc .fc-daygrid-body {
-  width: 100% !important;
-}
+
 /* classes attached to <body> */
 
 .fc-not-allowed,

+ 8 - 0
resources/views/app/patient/care-month/dashboard.blade.php

@@ -1576,6 +1576,14 @@
                     $('#caremonth-measurements-calendar-{{$calendarID}}').parent().addClass('d-none');
                 }, 10);
 
+                $('[tab-link=measurements-calendar]').click(function(){
+                    if(typeof measurementsCalendar !== 'undefined'){
+                        window.setTimeout(()=>{
+                            measurementsCalendar.updateSize();
+                        },10);
+                    }
+                });
+
                 // if in popup, invoke vitals graph initer
                 if($('#care-month-container-{{$patient->uid}}').closest('.stag-popup').length) {
                     runMCInitializer('vitalsGraphUnified_{{$careMonth->id}}');