Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
This commit is contained in:
		| @@ -39,7 +39,7 @@ | ||||
| 			<MkAsUi v-if="!g(child).hidden" :component="g(child)" :components="props.components" :size="size"/> | ||||
| 		</template> | ||||
| 	</MkFolder> | ||||
| 	<div v-else-if="c.type === 'container'" :class="[$style.container, { [$style.fontSerif]: c.font === 'serif', [$style.fontMonospace]: c.font === 'monospace', [$style.containerCenter]: c.align === 'center' }]" :style="{ backgroundColor: c.bgColor ?? null, color: c.fgColor ?? null, borderWidth: c.borderWidth ? `${c.borderWidth}px` : 0, borderColor: c.borderColor ?? 'var(--divider)', padding: c.padding ? `${c.padding}px` : 0, borderRadius: c.rounded ? '8px' : 0 }"> | ||||
| 	<div v-else-if="c.type === 'container'" :class="[$style.container, { [$style.fontSerif]: c.font === 'serif', [$style.fontMonospace]: c.font === 'monospace' }]" :style="{ textAlign: c.align ?? null, backgroundColor: c.bgColor ?? null, color: c.fgColor ?? null, borderWidth: c.borderWidth ? `${c.borderWidth}px` : 0, borderColor: c.borderColor ?? 'var(--divider)', padding: c.padding ? `${c.padding}px` : 0, borderRadius: c.rounded ? '8px' : 0 }"> | ||||
| 		<template v-for="child in c.children" :key="child"> | ||||
| 			<MkAsUi v-if="!g(child).hidden" :component="g(child)" :components="props.components" :size="size" :align="c.align"/> | ||||
| 		</template> | ||||
| @@ -102,10 +102,6 @@ function openPostForm() { | ||||
| 	gap: 12px; | ||||
| } | ||||
|  | ||||
| .containerCenter { | ||||
| 	text-align: center; | ||||
| } | ||||
|  | ||||
| .fontSerif { | ||||
| 	font-family: serif; | ||||
| } | ||||
|   | ||||
| @@ -11,6 +11,7 @@ export function createAiScriptEnv(opts) { | ||||
| 		USER_NAME: $i ? values.STR($i.name) : values.NULL, | ||||
| 		USER_USERNAME: $i ? values.STR($i.username) : values.NULL, | ||||
| 		CUSTOM_EMOJIS: utils.jsToVal(customEmojis.value), | ||||
| 		CURRENT_URL: values.STR(window.location.href), | ||||
| 		'Mk:dialog': values.FN_NATIVE(async ([title, text, type]) => { | ||||
| 			await os.alert({ | ||||
| 				type: type ? type.value : 'info', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo