From 7754905c19da0641e2369d26ef138fbd924e4253 Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Fri, 7 Jul 2017 23:04:42 +0200 Subject: [PATCH] fixing grid rendering error --- frontend/app/gallery/grid/grid.gallery.component.ts | 2 +- frontend/styles.css | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/app/gallery/grid/grid.gallery.component.ts b/frontend/app/gallery/grid/grid.gallery.component.ts index 6a3587d..a3c1df3 100644 --- a/frontend/app/gallery/grid/grid.gallery.component.ts +++ b/frontend/app/gallery/grid/grid.gallery.component.ts @@ -145,7 +145,7 @@ export class GalleryGridComponent implements OnChanges, AfterViewInit { this.renderedPhotoIndex < numberOfPhotos)) { let ret = this.renderARow(); if (ret === null) { - throw new Error("Gridphotos rendering failed"); + throw "Gridphotos rendering failed"; } renderedContentHeight += ret; } diff --git a/frontend/styles.css b/frontend/styles.css index 71d83f8..bac1b6d 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -1,10 +1,3 @@ -html { - height: 100%; -} - -body { - height: 100%; -} * { border-radius: 0 !important;