diff --git a/src/lib/appManagers/appMediaViewer.ts b/src/lib/appManagers/appMediaViewer.ts
index d94a8186..f911141c 100644
--- a/src/lib/appManagers/appMediaViewer.ts
+++ b/src/lib/appManagers/appMediaViewer.ts
@@ -160,8 +160,9 @@ export class AppMediaViewer {
});
this.onClickBinded = (e: MouseEvent) => {
- cancelEvent(e);
let target = e.target as HTMLElement;
+ if(target.tagName == 'A') return;
+ cancelEvent(e);
let mover: HTMLDivElement = null;
['media-viewer-mover', 'media-viewer-buttons', 'media-viewer-author'].find(s => {
diff --git a/src/scss/partials/pages/_pages.scss b/src/scss/partials/pages/_pages.scss
index b830c6db..12dd7aec 100644
--- a/src/scss/partials/pages/_pages.scss
+++ b/src/scss/partials/pages/_pages.scss
@@ -58,13 +58,13 @@
}
}
- @media (max-height: 858px) {
- height: auto;
+ // @media (max-height: 858px) {
+ // height: auto;
- /* .tabs-container > div > div {
- height: auto;
- } */
- }
+ // /* .tabs-container > div > div {
+ // height: auto;
+ // } */
+ // }
.page-password {
.input-wrapper {
diff --git a/src/scss/partials/popups/_datePicker.scss b/src/scss/partials/popups/_datePicker.scss
index c82b75a1..ea9f2bf0 100644
--- a/src/scss/partials/popups/_datePicker.scss
+++ b/src/scss/partials/popups/_datePicker.scss
@@ -6,7 +6,15 @@
// max-width: 300px;
// max-height: 424px;
min-width: 300px;
- padding: 12px 14px;
+ width: 300px;
+ padding: 12px 14px;
+
+ @media (min-height: 470px) {
+ &.is-max-lines {
+ top: 19px;
+ //left: 8px;
+ }
+ }
}
&-header {
diff --git a/src/scss/partials/popups/_popup.scss b/src/scss/partials/popups/_popup.scss
index 7e6e555d..ca4eef30 100644
--- a/src/scss/partials/popups/_popup.scss
+++ b/src/scss/partials/popups/_popup.scss
@@ -16,8 +16,8 @@
overflow: auto;
/* text-align: center; */
display: flex;
- align-items: center;
- justify-content: center;
+ /* align-items: center;
+ justify-content: center; */
&.active {
opacity: 1;
@@ -27,12 +27,7 @@
.popup-container {
transform: translateY(0);
-
- &.is-max-lines {
- margin-top: 38px;
- }
}
-
}
&-container {
@@ -48,6 +43,11 @@
display: flex;
flex-direction: column;
overflow: hidden;
+ margin: auto;
+ }
+
+ &-centerer {
+ margin: auto;
}
&-close {