mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-29 07:49:53 +01:00
🎨
This commit is contained in:
parent
f562642944
commit
2511a5c17b
1 changed files with 7 additions and 3 deletions
|
@ -404,9 +404,13 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext<MfmEven
|
||||||
style: QUOTE_STYLE,
|
style: QUOTE_STYLE,
|
||||||
}, genEl(token.children, scale, true))];
|
}, genEl(token.children, scale, true))];
|
||||||
} else if (token.children.length === 1 && token.children[0].type === 'url') {
|
} else if (token.children.length === 1 && token.children[0].type === 'url') {
|
||||||
return [h(MkUrlPreview, {
|
return [h('div', { style: 'padding-block: 8px' }, [
|
||||||
|
h(MkUrlPreview, {
|
||||||
url: token.children[0].props.url,
|
url: token.children[0].props.url,
|
||||||
})];
|
compact: true,
|
||||||
|
detail: true,
|
||||||
|
}),
|
||||||
|
])];
|
||||||
} else {
|
} else {
|
||||||
return [h('div', {
|
return [h('div', {
|
||||||
style: QUOTE_STYLE,
|
style: QUOTE_STYLE,
|
||||||
|
|
Loading…
Reference in a new issue