@@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json | |||||
from .exceptions import * | from .exceptions import * | ||||
from .utils.jinja import get_jenv, get_template, render_template | from .utils.jinja import get_jenv, get_template, render_template | ||||
__version__ = "7.0.38" | |||||
__version__ = "7.0.39" | |||||
local = Local() | local = Local() | ||||
@@ -157,7 +157,9 @@ frappe.activity.Feed = Class.extend({ | |||||
frappe.activity.render_heatmap = function(page) { | frappe.activity.render_heatmap = function(page) { | ||||
var me = this; | var me = this; | ||||
$('<div class="heatmap"></div><hr style="margin-bottom: 0px;">').prependTo(page.main); | |||||
$('<div class="heatmap-container" style="text-align:center">\ | |||||
<div class="heatmap" style="display:inline-block;"></div></div>\ | |||||
<hr style="margin-bottom: 0px;">').prependTo(page.main); | |||||
frappe.call({ | frappe.call({ | ||||
method: "frappe.desk.page.activity.activity.get_heatmap_data", | method: "frappe.desk.page.activity.activity.get_heatmap_data", | ||||
@@ -1,4 +1,7 @@ | |||||
.print-heading { | .print-heading { | ||||
text-align: right; | |||||
text-transform: uppercase; | |||||
color: #666; | |||||
padding-bottom: 20px; | padding-bottom: 20px; | ||||
margin-bottom: 20px; | margin-bottom: 20px; | ||||
border-bottom: 1px solid #d1d8dd; | border-bottom: 1px solid #d1d8dd; | ||||
@@ -74,6 +74,11 @@ | |||||
border-radius: 4px; | border-radius: 4px; | ||||
} | } | ||||
.print-item-image { | |||||
max-height: 110px; | |||||
object-fit: contain; | |||||
} | |||||
.pdf-variables, | .pdf-variables, | ||||
.pdf-variable, | .pdf-variable, | ||||
.visible-pdf { | .visible-pdf { | ||||