about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.storybook/config.js4
-rw-r--r--components/Facebook/FacebookFindUsButton.vue2
-rw-r--r--components/Ranking/RankingFirstEntry.vue1
-rw-r--r--components/Ranking/RankingList.stories.js5
4 files changed, 7 insertions, 5 deletions
diff --git a/.storybook/config.js b/.storybook/config.js
index 7126515..45f33c0 100644
--- a/.storybook/config.js
+++ b/.storybook/config.js
@@ -1,6 +1,8 @@
 import { configure } from '@storybook/vue'
 
-import '../assets/css/main.css'
+if (!process.env.JEST_WORKER_ID) {
+  require('../assets/css/main.css')
+}
 
 const req = require.context('../components', true, /\.stories.js$/)
 function loadStories() {
diff --git a/components/Facebook/FacebookFindUsButton.vue b/components/Facebook/FacebookFindUsButton.vue
index 05aa9f6..b955b0b 100644
--- a/components/Facebook/FacebookFindUsButton.vue
+++ b/components/Facebook/FacebookFindUsButton.vue
@@ -32,6 +32,8 @@
 
 .image {
   width: 200px;
+  display: block;
+  margin: auto;
 }
 
 @media (max-width: 500px) {
diff --git a/components/Ranking/RankingFirstEntry.vue b/components/Ranking/RankingFirstEntry.vue
index d9f290b..ad0bea0 100644
--- a/components/Ranking/RankingFirstEntry.vue
+++ b/components/Ranking/RankingFirstEntry.vue
@@ -44,6 +44,7 @@ export default {
 
 .ranking-first-entry__troop {
   grid-column: 2;
+  text-align: center;
 }
 
 .ranking-first-entry__points {
diff --git a/components/Ranking/RankingList.stories.js b/components/Ranking/RankingList.stories.js
index 830dd6a..ad3576b 100644
--- a/components/Ranking/RankingList.stories.js
+++ b/components/Ranking/RankingList.stories.js
@@ -18,9 +18,6 @@ storiesOf('Ranking/RankingList', module)
     return {
       components: { RankingList },
       template: `<ranking-list :scores="scores" />`,
-      data: () => {
-        console.log(rankingList)
-        return rankingList
-      }
+      data: () => rankingList
     }
   })