From 9e1c513ad39a61ab4107c37c3d972cacae44ade8 Mon Sep 17 00:00:00 2001 From: AtomicNicos Date: Mon, 27 Apr 2020 17:03:17 +0200 Subject: [PATCH] Fix CSS --- .../getting-started/getting-started.component.css | 12 ++++++------ src/app/maps/maps.component.ts | 1 - src/app/signup/signup.component.ts | 6 ++---- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/app/getting-started/getting-started.component.css b/src/app/getting-started/getting-started.component.css index f5aae28..4cf9a56 100644 --- a/src/app/getting-started/getting-started.component.css +++ b/src/app/getting-started/getting-started.component.css @@ -1,7 +1,7 @@ #background{ position: relative; - width: calc(100%-20rem); height: 100vh; + width: -webkit-fill-available; background: #8C93D8; padding: 0 6%; display: inline-flex; @@ -67,9 +67,9 @@ margin: 1% 0; align-items: center; text-align: center; - + color: #FF9848; - + text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.4); } @@ -307,7 +307,7 @@ span{ font-style: normal; font-weight: normal; font-size: 24px; - text-align: center; + text-align: center; font-size: 1.1em; color: rgb(105, 105, 105); border: 1px solid #ccc; @@ -324,7 +324,7 @@ span{ padding-inline-start: 0px; } - + .filter-select-list:hover .tags { color: #fff; } @@ -344,4 +344,4 @@ span{ .list-highlight:hover { background: rgb(55, 55, 55); color: #fff - } \ No newline at end of file + } diff --git a/src/app/maps/maps.component.ts b/src/app/maps/maps.component.ts index feb31c3..2686e8a 100644 --- a/src/app/maps/maps.component.ts +++ b/src/app/maps/maps.component.ts @@ -77,7 +77,6 @@ export class MapsComponent implements OnInit { (!(t.type in this.typeMap)) ? this.typeMap[t.type] = [] : null; this.typeMap[t.type].push(t); } - console.log(this.typeMap); } this.getPosition(); } diff --git a/src/app/signup/signup.component.ts b/src/app/signup/signup.component.ts index 478b911..9e874b0 100644 --- a/src/app/signup/signup.component.ts +++ b/src/app/signup/signup.component.ts @@ -38,7 +38,7 @@ export class SignupComponent implements OnInit { onSubmit() { const email = this.signupForm.get('email').value; const password = this.signupForm.get('password').value; - + this.authService.createNewUser(email, password).then( () => { this.router.navigate(['/']); @@ -60,6 +60,4 @@ export class SignupComponent implements OnInit { goToPage(pageName: string) { this.router.navigate([`${pageName}`]); } - - -} \ No newline at end of file +} -- GitLab