Fix home portlets not being properly placed in Firefox

This commit is contained in:
Nathan Gray 2015-02-10 18:50:43 +00:00
parent 3fffe6f2ac
commit bd891b0ae1
4 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,7 @@ app.classes.home = AppJS.extend(
// Handle bad timing - a sub-template was finished first // Handle bad timing - a sub-template was finished first
if(!this.portlet_container) if(!this.portlet_container)
{ {
window.setTimeout(jQuery.proxy(this, function() {this.et2_ready(et2, name);}),200); window.setTimeout(jQuery.proxy(function() {this.et2_ready(et2, name);},this),200);
return; return;
} }

View File

@ -63,7 +63,7 @@ div.calendar_favorite_portlet.et2_portlet.ui-widget-content > div:last-of-type {
/** /**
* Portlet styling (cosmetic) * Portlet styling (cosmetic)
*/ */
.et2_portlet.ui-widget-content > div:last-of-type > div { .et2_portlet.ui-widget-content > div:last-of-type > .et2_container {
background: linear-gradient(to bottom, rgba(255,255,255,.9) 10%,rgba(255,255,255,.75) 90%) /* W3C */ background: linear-gradient(to bottom, rgba(255,255,255,.9) 10%,rgba(255,255,255,.75) 90%) /* W3C */
} }

View File

@ -66,7 +66,7 @@ div.calendar_favorite_portlet.et2_portlet.ui-widget-content > div:last-of-type {
/** /**
* Portlet styling (cosmetic) * Portlet styling (cosmetic)
*/ */
.et2_portlet.ui-widget-content > div:last-of-type > div { .et2_portlet.ui-widget-content > div:last-of-type > .et2_container {
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.75) 90%) /* W3C */; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.75) 90%) /* W3C */;
} }
/* Single entry */ /* Single entry */