From bb766f402ba89d0abf2bc424e32e5338ddd2ebdc Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 29 Aug 2019 17:22:33 +0200 Subject: Fix layout --- src/components/FacebookFeed.vue | 18 +----------------- src/components/Footer.vue | 2 +- src/components/JoinUs.vue | 2 +- src/components/NavBar.vue | 2 +- 4 files changed, 4 insertions(+), 20 deletions(-) (limited to 'src') diff --git a/src/components/FacebookFeed.vue b/src/components/FacebookFeed.vue index e405270..9d2d251 100644 --- a/src/components/FacebookFeed.vue +++ b/src/components/FacebookFeed.vue @@ -1,6 +1,6 @@ @@ -14,22 +14,6 @@ export default { }, props: { pageId: String - }, - created() { - window.fbAsyncInit = function() { - FB.init({ - appId: "702203580219306", - autoLogAppEvents: true, - xfbml: true, - version: "v4.0" - }); - - FB.api(`/${this.pageId}/feed`, function(response) { - if (response && !response.error) { - console.log(response); - } - }); - }; } }; diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 8288667..1cdad44 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -49,7 +49,7 @@ export default { .footer { color: #ffffff; min-height: 175px; - width: 100vw; + width: 100%; display: flex; flex-direction: row; diff --git a/src/components/JoinUs.vue b/src/components/JoinUs.vue index 070e7f4..186be09 100644 --- a/src/components/JoinUs.vue +++ b/src/components/JoinUs.vue @@ -32,7 +32,7 @@ background-color: #340c0e; color: #ffffff; - max-width: 260px; + width: 260px; height: 85px; margin-bottom: 20px; diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 67df7e3..1f99a01 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -77,7 +77,7 @@ export default { color: #181818; box-sizing: border-box; - width: 100vw; + width: 100%; height: 80px; background: #ffffff; -- cgit 1.4.1