@@ -211,16 +211,11 @@ function createCardComponent(parent, template, components) {
211211 }
212212 }
213213 var headerLeftAnchor;
214− if (isHorizontal) {
215− if (hasArt) {
216− headerLeftAnchor = 'anchors.left: artShapeHolder.right; \
217− anchors.leftMargin: units.gu(1);';
218− } else {
219− headerLeftAnchor = 'anchors.left: parent.left;';
220− }
221− } else {
222− headerLeftAnchor = 'anchors.left: parent.left; \
214+ if (isHorizontal && hasArt) {
215+ headerLeftAnchor = 'anchors.left: artShapeHolder.right; \
223216 anchors.leftMargin: units.gu(1);';
217+ } else {
218+ headerLeftAnchor = 'anchors.left: parent.left;';
224219 }
225220
226221 if (hasHeaderRow) {
@@ -288,12 +283,13 @@ function createCardComponent(parent, template, components) {
288283 } else {
289284 color = '"grey"';
290285 }
286+
291287 var anchors = "anchors.right: parent.right;";
292288 if (hasMascot) {
293289 anchors += 'anchors.left: mascotImage.right; \
294290 anchors.leftMargin: units.gu(1);';
295291 } else {
296− anchors += 'anchors.left: parent.left;';
292+ anchors += headerLeftAnchor;
297293 }
298294 anchors += headerVerticalAnchors;
299295