diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-19 19:36:12 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-19 19:36:12 +0900 |
| commit | 5d968afa7424d82f49502c12f63f546f86eae433 (patch) | |
| tree | 52508c7c786eb6324e4874efa98ca7ef2e91ee35 /packages/client/src/components/ui/modal-window.vue | |
| parent | Update .eslintrc.js (diff) | |
| download | misskey-5d968afa7424d82f49502c12f63f546f86eae433.tar.gz misskey-5d968afa7424d82f49502c12f63f546f86eae433.tar.bz2 misskey-5d968afa7424d82f49502c12f63f546f86eae433.zip | |
update linr
Diffstat (limited to 'packages/client/src/components/ui/modal-window.vue')
| -rw-r--r-- | packages/client/src/components/ui/modal-window.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/client/src/components/ui/modal-window.vue b/packages/client/src/components/ui/modal-window.vue index da98192b87..61c2afe1ec 100644 --- a/packages/client/src/components/ui/modal-window.vue +++ b/packages/client/src/components/ui/modal-window.vue @@ -1,20 +1,20 @@ <template> <MkModal ref="modal" @click="$emit('click')" @closed="$emit('closed')"> - <div class="ebkgoccj _window _narrow_" @keydown="onKeydown" :style="{ width: `${width}px`, height: scroll ? (height ? `${height}px` : null) : (height ? `min(${height}px, 100%)` : '100%') }"> + <div class="ebkgoccj _window _narrow_" :style="{ width: `${width}px`, height: scroll ? (height ? `${height}px` : null) : (height ? `min(${height}px, 100%)` : '100%') }" @keydown="onKeydown"> <div class="header"> - <button class="_button" v-if="withOkButton" @click="$emit('close')"><i class="fas fa-times"></i></button> + <button v-if="withOkButton" class="_button" @click="$emit('close')"><i class="fas fa-times"></i></button> <span class="title"> <slot name="header"></slot> </span> - <button class="_button" v-if="!withOkButton" @click="$emit('close')"><i class="fas fa-times"></i></button> - <button class="_button" v-if="withOkButton" @click="$emit('ok')" :disabled="okButtonDisabled"><i class="fas fa-check"></i></button> + <button v-if="!withOkButton" class="_button" @click="$emit('close')"><i class="fas fa-times"></i></button> + <button v-if="withOkButton" class="_button" :disabled="okButtonDisabled" @click="$emit('ok')"><i class="fas fa-check"></i></button> </div> - <div class="body" v-if="padding"> + <div v-if="padding" class="body"> <div class="_section"> <slot></slot> </div> </div> - <div class="body" v-else> + <div v-else class="body"> <slot></slot> </div> </div> |