@@ -193,25 +193,23 @@ function createCardComponent(parent, template, components) {
195 var headerVerticalAnchors;
195 var headerVerticalAnchors;
196− if (isHorizontal) {
196+ if (inOverlay) {
197− headerVerticalAnchors = 'anchors.top: artShapeHolder.top; \
197+ headerVerticalAnchors = 'anchors.bottom: artShapeHolder.bottom; \
198− anchors.topMargin: units.gu(1);';
198+ anchors.bottomMargin: units.gu(1);';
201− headerVerticalAnchors = 'anchors.bottom: artShapeHolder.bottom; \
202− anchors.bottomMargin: units.gu(1);';
204− if (hasArt) {
200+ if (hasArt) {
205− headerVerticalAnchors = 'anchors.top: artShapeHolder.bottom; \
202+ headerVerticalAnchors = 'anchors.top: artShapeHolder.top; \
206 anchors.topMargin: units.gu(1);';
203 anchors.topMargin: units.gu(1);';
208− headerVerticalAnchors = 'anchors.top: parent.top; \
205+ headerVerticalAnchors = 'anchors.top: artShapeHolder.bottom; \
209 anchors.topMargin: units.gu(1);';
206 anchors.topMargin: units.gu(1);';
208+ headerVerticalAnchors = 'anchors.top: parent.top; \
209+ anchors.topMargin: units.gu(1);';
215 if (hasMascot) {
213 if (hasMascot) {
216 var useMascotShape = !hasBackground && !inOverlay;
214 var useMascotShape = !hasBackground && !inOverlay;
217 var anchors = "";
215 var anchors = "";