summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-05-09 13:57:43 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-05-09 13:57:43 +0900
commit80619260c11a44ad50619aaed2578eb5dc0260e9 (patch)
tree5e8fbffca0bbe237040e4148aa6f233900334aaf /packages
parent[ci skip] 13.12.0 (diff)
downloadmisskey-80619260c11a44ad50619aaed2578eb5dc0260e9.tar.gz
misskey-80619260c11a44ad50619aaed2578eb5dc0260e9.tar.bz2
misskey-80619260c11a44ad50619aaed2578eb5dc0260e9.zip
fix(frontend): ユーザー選択ダイアログが表示されない問題を修正
Fix #10809
Diffstat (limited to 'packages')
-rw-r--r--packages/frontend/src/components/MkModalWindow.vue7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/frontend/src/components/MkModalWindow.vue b/packages/frontend/src/components/MkModalWindow.vue
index 1c942cfd0d..ad7dc4da11 100644
--- a/packages/frontend/src/components/MkModalWindow.vue
+++ b/packages/frontend/src/components/MkModalWindow.vue
@@ -1,6 +1,6 @@
<template>
<MkModal ref="modal" :prefer-type="'dialog'" @click="onBgClick" @closed="$emit('closed')">
- <div ref="rootEl" class="ebkgoccj" :style="{ width: `${width}px`, height: height ? `${height}px` : null }" @keydown="onKeydown">
+ <div ref="rootEl" class="ebkgoccj" :style="{ width: `${width}px`, height: `min(${height}px, 100%)` }" @keydown="onKeydown">
<div ref="headerEl" class="header">
<button v-if="withOkButton" class="_button" @click="$emit('close')"><i class="ti ti-x"></i></button>
<span class="title">
@@ -24,12 +24,12 @@ const props = withDefaults(defineProps<{
withOkButton: boolean;
okButtonDisabled: boolean;
width: number;
- height: number | null;
+ height: number;
}>(), {
withOkButton: false,
okButtonDisabled: false,
width: 400,
- height: null,
+ height: 500,
});
const emit = defineEmits<{
@@ -84,7 +84,6 @@ defineExpose({
<style lang="scss" scoped>
.ebkgoccj {
margin: auto;
- max-height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;