diff --git a/frontend/app/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.ts b/frontend/app/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.ts
index 6d3b09c1..607707fa 100644
--- a/frontend/app/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.ts
+++ b/frontend/app/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.ts
@@ -1,4 +1,4 @@
-import {Component, ElementRef, Input} from "@angular/core";
+import {Component, ElementRef, EventEmitter, Input, Output} from "@angular/core";
import {PhotoDTO} from "../../../../../common/entities/PhotoDTO";
import {Config} from "../../../../../common/config/public/Config";
@@ -9,7 +9,7 @@ import {Config} from "../../../../../common/config/public/Config";
})
export class InfoPanelLightboxComponent {
@Input() photo: PhotoDTO;
-
+ @Output('onClose') onClose = new EventEmitter();
public mapEnabled = true;
constructor(public elementRef: ElementRef) {
@@ -83,5 +83,9 @@ export class InfoPanelLightboxComponent {
return str;
}
+
+ close() {
+ this.onClose.emit();
+ }
}
diff --git a/frontend/app/gallery/lightbox/lightbox.gallery.component.html b/frontend/app/gallery/lightbox/lightbox.gallery.component.html
index 16dac073..565ab84f 100644
--- a/frontend/app/gallery/lightbox/lightbox.gallery.component.html
+++ b/frontend/app/gallery/lightbox/lightbox.gallery.component.html
@@ -12,6 +12,7 @@
@@ -63,7 +64,8 @@
+ [photo]="activePhoto.gridPhoto.photo"
+ (onClose)="hideInfoPanel()">
diff --git a/frontend/app/gallery/lightbox/lightbox.gallery.component.ts b/frontend/app/gallery/lightbox/lightbox.gallery.component.ts
index a6b0e456..01d04998 100644
--- a/frontend/app/gallery/lightbox/lightbox.gallery.component.ts
+++ b/frontend/app/gallery/lightbox/lightbox.gallery.component.ts
@@ -25,6 +25,8 @@ import {Observable} from "rxjs/Observable";
templateUrl: './lightbox.gallery.component.html'
})
export class GalleryLightboxComponent implements OnDestroy {
+
+
@Output('onLastElement') onLastElement = new EventEmitter();
@ViewChild("photo") photoElement: GalleryLightboxPhotoComponent;
@ViewChild("lightbox") lightboxElement: ElementRef;
@@ -81,7 +83,6 @@ export class GalleryLightboxComponent implements OnDestroy {
}
return;
}
- console.warn("can't find photo to show next");
}
public prevImage() {
@@ -90,7 +91,6 @@ export class GalleryLightboxComponent implements OnDestroy {
this.showPhoto(this.activePhotoId - 1);
return;
}
- console.warn("can't find photo to show prev");
}
diff --git a/frontend/app/login/login.component.css b/frontend/app/login/login.component.css
index a6c60dfc..d72d2ebb 100644
--- a/frontend/app/login/login.component.css
+++ b/frontend/app/login/login.component.css
@@ -11,6 +11,16 @@
height: 80px;
}
+@media screen and ( max-width: 500px ) {
+ .title h1 {
+ font-size: 70px;
+ }
+
+ .title img {
+ height: 70px;
+ }
+}
+
.title {
margin-top: 40px;
width: 100%;
diff --git a/frontend/app/settings/map/map.settings.component.html b/frontend/app/settings/map/map.settings.component.html
index de7ff0eb..04edd16f 100644
--- a/frontend/app/settings/map/map.settings.component.html
+++ b/frontend/app/settings/map/map.settings.component.html
@@ -1,8 +1,8 @@