Fix card implicitHeight with no summary text
commitf3aa09fc556fc7dfafca61b9a5ae370656b537d7
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateThu 2 Oct 2014, 09:30 (12 years ago)
parent9f8aa54
plugins/Dash/CardCreator.js+1−1
@@ -627,7 +627,7 @@ function cardString(template, components) {
627627
628628 var implicitHeight = 'implicitHeight: ';
629629 if (hasSummary) {
630− implicitHeight += 'summary.y + summary.height + (summary.text ? units.gu(1) : 0);\n';
630+ implicitHeight += 'summary.y + summary.height + units.gu(1);\n';
631631 } else if (hasHeaderRow) {
632632 implicitHeight += 'row.y + row.height + units.gu(1);\n';
633633 } else if (hasMascot) {