Browse Source

feat(nc-gui): add active class when the modal is open

pull/4482/head
Wing-Kam Wong 2 years ago
parent
commit
af685a9cf8
  1. 2
      packages/nc-gui/components/cell/attachment/Modal.vue

2
packages/nc-gui/components/cell/attachment/Modal.vue

@ -60,7 +60,7 @@ function onClick(item: Record<string, any>) {
<template> <template>
<a-modal <a-modal
v-model:visible="modalVisible" v-model:visible="modalVisible"
class="nc-attachment-modal" :class="`nc-attachment-modal ${modalVisible ? 'active' : ''}`"
width="80%" width="80%"
:footer="null" :footer="null"
wrap-class-name="nc-modal-attachment-expand-cell" wrap-class-name="nc-modal-attachment-expand-cell"

Loading…
Cancel
Save