on xenial help sign in
Comment on why the hardcoded size and its sillyness
commit4201b338fa5c73f2d54041ef81916d8cd876064b authorAlbert Astals <albert.astals@canonical.com> dateTue 6 May 2014, 10:31 (12 years ago) parent79bd69e
1 file changed+2
plugins/Dash/CardCreator.js+2
plugins/Dash/CardCreator.js+2
@@ -87,6 +87,8 @@ function cardString(template, components) {
8787 imageWidthHeight = 'width: height * artShape.aspect; \
8888 height: headerHeight;'
8989 } else {
90+ // This side of the else is a bit silly, who wants an horizontal layout without mascot and title?
91+ // So we define a "random" height of the image height + 2 gu for the margins
9092 imageWidthHeight = 'width: height * artShape.aspect; \
9193 height: units.gu(7.625)';
9294 }