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

View file

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