Forráskód Böngészése

fix: page source id + font

Nick 6 éve
szülő
commit
c530c15b69
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      client/components/source.vue
  2. 1 1
      server/views/source.pug

+ 1 - 1
client/components/source.vue

@@ -66,7 +66,7 @@ export default {
   pre > code {
     box-shadow: none;
     color: mc('grey', '800');
-    font-family: 'Source Code Pro', sans-serif;
+    font-family: 'Roboto Mono', sans-serif;
     font-weight: 400;
     font-size: 1rem;
 

+ 1 - 1
server/views/source.pug

@@ -5,7 +5,7 @@ block head
 block body
   #root
     page-source(
-      page-id=page.id
+      :page-id=page.id
       locale=page.localeCode
       path=page.path
       )= page.content