about summary refs log tree commit diff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/Ranking/RankingFirstEntry.vue1
-rw-r--r--components/Ranking/RankingRules.vue5
2 files changed, 5 insertions, 1 deletions
diff --git a/components/Ranking/RankingFirstEntry.vue b/components/Ranking/RankingFirstEntry.vue
index edb137d..d9f290b 100644
--- a/components/Ranking/RankingFirstEntry.vue
+++ b/components/Ranking/RankingFirstEntry.vue
@@ -33,6 +33,7 @@ export default {
   grid-template-columns: 15% 60% 25%;
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
 
+  line-height: 50px;
   font-size: 26px;
   font-weight: 600;
 }
diff --git a/components/Ranking/RankingRules.vue b/components/Ranking/RankingRules.vue
index b6c57ef..5ae3c74 100644
--- a/components/Ranking/RankingRules.vue
+++ b/components/Ranking/RankingRules.vue
@@ -8,11 +8,13 @@
 <script>
 import rules from '~/assets/zasady-punktacji.md'
 
+const md = require('markdown-it')()
+
 export default {
   name: 'RankingRules',
   data() {
     return {
-      rules
+      rules: md.render(rules)
     }
   }
 }
@@ -26,6 +28,7 @@ export default {
 
 .rules th,
 .rules td {
+  padding: 5px 15px;
   border: 1px solid #000;
 }
 </style>