Browse Source

fix: page source id + font

pull/880/head
Nick 5 years ago
parent
commit
c530c15b69
2 changed files with 2 additions and 2 deletions
  1. 2
      client/components/source.vue
  2. 2
      server/views/source.pug

2
client/components/source.vue

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

2
server/views/source.pug

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