+
diff --git a/src/pages/pagesManager.ts b/src/pages/pagesManager.ts
index 0c1d8ee9..91843e82 100644
--- a/src/pages/pagesManager.ts
+++ b/src/pages/pagesManager.ts
@@ -13,7 +13,7 @@ class PagesManager {
constructor() {
this.pagesDiv = document.getElementById('auth-pages') as HTMLDivElement;
- this.selectTab = horizontalMenu(null, this.pagesDiv.firstElementChild as HTMLDivElement, null, () => {
+ this.selectTab = horizontalMenu(null, this.pagesDiv.firstElementChild.firstElementChild as HTMLDivElement, null, () => {
if(this.page.onShown) {
this.page.onShown();
}
diff --git a/src/scss/partials/pages/_pages.scss b/src/scss/partials/pages/_pages.scss
index 3dab3816..4145501b 100644
--- a/src/scss/partials/pages/_pages.scss
+++ b/src/scss/partials/pages/_pages.scss
@@ -30,9 +30,26 @@
flex: 0 0 auto;
}
+ > .scrollable {
+ display: flex;
+ flex-direction: column;
+
+ &:before, &:after {
+ content: " ";
+ flex: 1;
+ min-height: 3rem;
+ /* height: 105px; */
+ width: 100%;
+ }
+ }
+
.tabs-container {
- height: 100%;
- width: 100%;
+ max-width: 720px;
+ min-width: auto;
+ margin: 0 auto;
+ overflow-x: hidden;
+ /* height: 100%;
+ width: 100%; */
> div {
/* justify-content: center; */
@@ -48,19 +65,6 @@
flex-direction: column;
}
}
-
- .container > .scrollable {
- display: flex;
- flex-direction: column;
-
- &:before, &:after {
- content: " ";
- flex: 1;
- min-height: 3rem;
- /* height: 105px; */
- width: 100%;
- }
- }
}
// @media (max-height: 858px) {