diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-17 14:10:25 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-17 14:10:25 +0900 |
| commit | 0de41063daaeb4f679bd0f99968dbc6809aa1ac9 (patch) | |
| tree | c68e4c88f015e768f68e789d54e0821f2530fed7 | |
| parent | fix(client): playを削除する手段がなかったのを修正 (diff) | |
| download | misskey-0de41063daaeb4f679bd0f99968dbc6809aa1ac9.tar.gz misskey-0de41063daaeb4f679bd0f99968dbc6809aa1ac9.tar.bz2 misskey-0de41063daaeb4f679bd0f99968dbc6809aa1ac9.zip | |
:art:
| -rw-r--r-- | packages/frontend/src/components/MkAsUi.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkAsUi.vue b/packages/frontend/src/components/MkAsUi.vue index cbdf924538..9543ccc4da 100644 --- a/packages/frontend/src/components/MkAsUi.vue +++ b/packages/frontend/src/components/MkAsUi.vue @@ -7,7 +7,7 @@ </div> <span v-else-if="c.type === 'text'" :class="{ [$style.fontSerif]: c.font === 'serif', [$style.fontMonospace]: c.font === 'monospace' }" :style="{ fontSize: c.size ? `${c.size * 100}%` : null, fontWeight: c.bold ? 'bold' : null, color: c.color ?? null }">{{ c.text }}</span> <Mfm v-else-if="c.type === 'mfm'" :class="{ [$style.fontSerif]: c.font === 'serif', [$style.fontMonospace]: c.font === 'monospace' }" :style="{ fontSize: c.size ? `${c.size * 100}%` : null, fontWeight: c.bold ? 'bold' : null, color: c.color ?? null }" :text="c.text"/> - <MkButton v-else-if="c.type === 'button'" :primary="c.primary" :rounded="c.rounded" :small="size === 'small'" @click="c.onClick">{{ c.text }}</MkButton> + <MkButton v-else-if="c.type === 'button'" :primary="c.primary" :rounded="c.rounded" :small="size === 'small'" inline @click="c.onClick">{{ c.text }}</MkButton> <div v-else-if="c.type === 'buttons'" class="_buttons"> <MkButton v-for="button in c.buttons" :primary="button.primary" :rounded="button.rounded" :small="size === 'small'" @click="button.onClick">{{ button.text }}</MkButton> </div> |