Browse Source

Fix calendar popover

sometimes it takes a while before the metadata popup shows when you click an element in the popover
Rob Gökemeijer 8 years ago
parent
commit
bea75d8bdf
2 changed files with 6 additions and 2 deletions
  1. 5 1
      css/organizr.css
  2. 1 1
      plugins/bower_components/calendar/dist/fullcalendar.js

+ 5 - 1
css/organizr.css

@@ -357,6 +357,10 @@ th.fc-list-header > .fc-list-heading-alt {
     color: inherit !important;
 }
 
+.fc-popover {
+    background-color: #1b1b1b
+}
+
 @media (max-width: 767px) {
     i.ti-close.visible-xs {
         display: inline !important;
@@ -589,7 +593,7 @@ span.homepage-text {
 	}
 }
 .fc-view-container .fc-view .fc-scroller {
-    max-height: 191px !important;
+    max-height: 215px !important;
 }
 .fc-view-container .fc-month-view .fc-scroller {
     max-height: 100% !important;

+ 1 - 1
plugins/bower_components/calendar/dist/fullcalendar.js

@@ -7116,7 +7116,7 @@ DayGrid.mixin({
 		options = {
 			className: 'fc-more-popover',
 			content: this.renderSegPopoverContent(row, col, segs),
-			parentEl: this.view.el, // attach to root of view. guarantees outside of scrollbars.
+			parentEl: this.view.el.parent().parent().parent(), // attach to root of view. guarantees outside of scrollbars.
 			top: topEl.offset().top,
 			autoHide: true, // when the user clicks elsewhere, hide the popover
 			viewportConstrain: view.opt('popoverViewportConstrain'),