summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkModalWindow.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-01-06 09:41:14 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-01-06 09:41:14 +0900
commit372a17d7f0fd4e95086b5e9685d4c21a3550422b (patch)
treee6c4dca5d37651f6479df74f624bd6ee252b75f4 /packages/frontend/src/components/MkModalWindow.vue
parentfix(backend): Set correct access control of admin/drive/files (#9472) (diff)
downloadsharkey-372a17d7f0fd4e95086b5e9685d4c21a3550422b.tar.gz
sharkey-372a17d7f0fd4e95086b5e9685d4c21a3550422b.tar.bz2
sharkey-372a17d7f0fd4e95086b5e9685d4c21a3550422b.zip
refactor
Diffstat (limited to 'packages/frontend/src/components/MkModalWindow.vue')
-rw-r--r--packages/frontend/src/components/MkModalWindow.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkModalWindow.vue b/packages/frontend/src/components/MkModalWindow.vue
index 1e93f01c8d..ac428fa7b1 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 _narrow_" :style="{ width: `${width}px`, height: scroll ? (height ? `${height}px` : null) : (height ? `min(${height}px, 100%)` : '100%') }" @keydown="onKeydown">
+ <div ref="rootEl" class="ebkgoccj" :style="{ width: `${width}px`, height: scroll ? (height ? `${height}px` : null) : (height ? `min(${height}px, 100%)` : '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">
@@ -89,6 +89,7 @@ defineExpose({
display: flex;
flex-direction: column;
contain: content;
+ container-type: inline-size;
border-radius: var(--radius);
--root-margin: 24px;