This commit is contained in:
syuilo 2021-08-05 12:20:27 +09:00
parent 80a4aa6fa6
commit 532fa9c5f9

View file

@ -1,10 +1,12 @@
<template>
<div class="qyqbqfal" v-size="{ max: [500] }">
<div class="main">
<div class="title">{{ title }}</div>
<div class="body" v-html="body"></div>
<div class="footer">
<MkLink :url="`https://github.com/misskey-dev/misskey/blob/master/src/docs/${lang}/${doc}.md`" class="at">{{ $ts.docSource }}</MkLink>
</div>
</div>
</div>
</template>
@ -105,14 +107,16 @@ export default defineComponent({
<style lang="scss" scoped>
.qyqbqfal {
padding: 32px;
max-width: 800px;
margin: 0 auto;
background: var(--panel);
&.max-width_500px {
padding: 16px;
}
> .main {
max-width: 800px;
margin: 0 auto;
> .title {
font-size: 1.5em;
font-weight: bold;
@ -203,5 +207,6 @@ export default defineComponent({
margin: 1.5em 0 0 0;
border-top: solid 2px var(--divider);
}
}
}
</style>