diff --git a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html
index 6a2ad4965..3fa4f2766 100644
--- a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html
+++ b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html
@@ -44,7 +44,7 @@
-
+
@@ -92,10 +92,10 @@
-
+
+
+
-
-
-
+
\ No newline at end of file
diff --git a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts
index e5d0aaa0a..07929d894 100644
--- a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts
+++ b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts
@@ -19,6 +19,7 @@ export class LiquidMasterPageComponent implements OnInit {
network$: Observable
;
urlLanguage: string;
networkPaths: { [network: string]: string };
+ footerVisible = true;
constructor(
private stateService: StateService,
@@ -27,13 +28,18 @@ export class LiquidMasterPageComponent implements OnInit {
private navigationService: NavigationService,
) { }
- ngOnInit() {
+ ngOnInit(): void {
this.env = this.stateService.env;
this.connectionState$ = this.stateService.connectionState$;
this.network$ = merge(of(''), this.stateService.networkChanged$);
this.urlLanguage = this.languageService.getLanguageForUrl();
this.navigationService.subnetPaths.subscribe((paths) => {
this.networkPaths = paths;
+ if (paths.liquid.indexOf('docs') > -1) {
+ this.footerVisible = false;
+ } else {
+ this.footerVisible = true;
+ }
});
}
@@ -41,7 +47,7 @@ export class LiquidMasterPageComponent implements OnInit {
this.navCollapsed = !this.navCollapsed;
}
- onResize(event: any) {
+ onResize(): void {
this.isMobile = window.innerWidth <= 767.98;
}
}
diff --git a/frontend/src/app/components/master-page/master-page.component.html b/frontend/src/app/components/master-page/master-page.component.html
index 0258a8e07..9e4cd1513 100644
--- a/frontend/src/app/components/master-page/master-page.component.html
+++ b/frontend/src/app/components/master-page/master-page.component.html
@@ -64,7 +64,7 @@
-
+
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index e58bcdc6a..d88a730fc 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -62,6 +62,10 @@ body {
position: relative;
}
+main {
+ margin-top: 24px;
+}
+
.full-height {
@media (max-width: 767.98px) {
min-height: 100vh;
@@ -1155,4 +1159,4 @@ app-master-page, app-liquid-master-page {
app-global-footer {
margin-top: auto;
-}
\ No newline at end of file
+}