summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/page-editor
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-04-27 19:55:56 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-04-27 19:55:56 +0900
commit0a1ff77f23f0fdbc569f6184bad74ae86cd45a2e (patch)
tree843a0a59cd57214f4aa2611509270746cb2f9725 /packages/frontend/src/pages/page-editor
parentUpdate CHANGELOG.md (diff)
downloadmisskey-0a1ff77f23f0fdbc569f6184bad74ae86cd45a2e.tar.gz
misskey-0a1ff77f23f0fdbc569f6184bad74ae86cd45a2e.tar.bz2
misskey-0a1ff77f23f0fdbc569f6184bad74ae86cd45a2e.zip
perf(frontend): use css-native implementation for spacer rather than vue component
Diffstat (limited to 'packages/frontend/src/pages/page-editor')
-rw-r--r--packages/frontend/src/pages/page-editor/page-editor.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue
index 355a8a65da..f1b1c2f1d8 100644
--- a/packages/frontend/src/pages/page-editor/page-editor.vue
+++ b/packages/frontend/src/pages/page-editor/page-editor.vue
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<PageWithHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs">
- <MkSpacer :contentMax="700">
+ <div class="_spacer" style="--MI_SPACER-w: 700px;">
<div class="jqqmcavi">
<MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ti ti-external-link"></i> {{ i18n.ts._pages.viewPage }}</MkButton>
<MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ti ti-device-floppy"></i> {{ i18n.ts.save }}</MkButton>
@@ -55,7 +55,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkButton v-if="!readonly" rounded class="add" @click="add()"><i class="ti ti-plus"></i></MkButton>
</div>
</div>
- </MkSpacer>
+ </div>
</PageWithHeader>
</template>