From cbfd0f32dc2460b4df80c6b664dd79c7259168c1 Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Mon, 10 Jul 2017 22:41:30 +0200 Subject: [PATCH] improving lightbox --- .../lightbox/lightbox.gallery.component.css | 1 - .../lightbox/lightbox.gallery.component.html | 2 +- .../lightbox/lightbox.gallery.component.ts | 40 +++++++++---------- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/frontend/app/gallery/lightbox/lightbox.gallery.component.css b/frontend/app/gallery/lightbox/lightbox.gallery.component.css index 63ff984..90a533a 100644 --- a/frontend/app/gallery/lightbox/lightbox.gallery.component.css +++ b/frontend/app/gallery/lightbox/lightbox.gallery.component.css @@ -90,7 +90,6 @@ info-panel { position: fixed; height: 100vh; right: 0; - width: 0; top: 0; transition: all 0.3s ease-in-out; } diff --git a/frontend/app/gallery/lightbox/lightbox.gallery.component.html b/frontend/app/gallery/lightbox/lightbox.gallery.component.html index c9b59d7..f434183 100644 --- a/frontend/app/gallery/lightbox/lightbox.gallery.component.html +++ b/frontend/app/gallery/lightbox/lightbox.gallery.component.html @@ -23,7 +23,7 @@ endLeft:photoDimension.left}}" -->
+ [style.width.px]="getScreenWidth()">