Skip to content

Commit

Permalink
fix(frontend): ユーザー選択ダイアログが表示されない問題を修正
Browse files Browse the repository at this point in the history
Fix #10809
  • Loading branch information
syuilo committed May 9, 2023
1 parent e382f74 commit 8061926
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
-
-->

## 13.x.x (unreleased)

### General
-

### Client
- Fix: ユーザー選択ダイアログが表示されない問題を修正

### Server
-

## 13.12.0

### NOTE
Expand Down
7 changes: 3 additions & 4 deletions packages/frontend/src/components/MkModalWindow.vue
Original file line number Diff line number Diff line change
@@ -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">
Expand All @@ -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<{
Expand Down Expand Up @@ -84,7 +84,6 @@ defineExpose({
<style lang="scss" scoped>
.ebkgoccj {
margin: auto;
max-height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 8061926

Please sign in to comment.