@@ -211,16 +211,11 @@ function createCardComponent(parent, template, components) {
213 var headerLeftAnchor;
213 var headerLeftAnchor;
214− if (isHorizontal) {
214+ if (isHorizontal && hasArt) {
216− headerLeftAnchor = 'anchors.left: artShapeHolder.right; \
215+ headerLeftAnchor = 'anchors.left: artShapeHolder.right; \
217− anchors.leftMargin: units.gu(1);';
219− headerLeftAnchor = 'anchors.left: parent.left;';
222− headerLeftAnchor = 'anchors.left: parent.left; \
223 anchors.leftMargin: units.gu(1);';
216 anchors.leftMargin: units.gu(1);';
218+ headerLeftAnchor = 'anchors.left: parent.left;';
226 if (hasHeaderRow) {
221 if (hasHeaderRow) {
@@ -288,12 +283,13 @@ function createCardComponent(parent, template, components) {
289 color = '"grey"';
284 color = '"grey"';
291 var anchors = "anchors.right: parent.right;";
287 var anchors = "anchors.right: parent.right;";
292 if (hasMascot) {
288 if (hasMascot) {
293 anchors += 'anchors.left: mascotImage.right; \
289 anchors += 'anchors.left: mascotImage.right; \
294 anchors.leftMargin: units.gu(1);';
290 anchors.leftMargin: units.gu(1);';
296− anchors += 'anchors.left: parent.left;';
292+ anchors += headerLeftAnchor;
298 anchors += headerVerticalAnchors;
294 anchors += headerVerticalAnchors;