Skip to content

Commit

Permalink
cherry-pick: fix MkWindow style (#317)
Browse files Browse the repository at this point in the history
fix(frontend): fix style

Fix # 14754

Co-authored-by: syuilo <[email protected]>
  • Loading branch information
adzukimame and syuilo authored Nov 28, 2024
1 parent cf006ec commit fc1314b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/frontend/src/components/MkWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ SPDX-License-Identifier: AGPL-3.0-only

<script lang="ts" setup>
import { onBeforeUnmount, onMounted, provide, shallowRef, ref } from 'vue';
import type { MenuItem } from '@/types/menu.js';
import contains from '@/scripts/contains.js';
import * as os from '@/os.js';
import { MenuItem } from '@/types/menu.js';
import { i18n } from '@/i18n.js';
import { defaultStore } from '@/store.js';

Expand Down Expand Up @@ -484,6 +484,10 @@ defineExpose({
}

.root {
// universal.vueとかで直接--MI-stickyBottomが定義されていたりするのでリセット
--MI-stickyTop: 0;
--MI-stickyBottom: 0;

position: fixed;
top: 0;
left: 0;
Expand Down

0 comments on commit fc1314b

Please sign in to comment.