@cloudron/pankow 4.1.9 → 4.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,7 @@ defineExpose({ open, close });
113
113
  <Transition name="pankow-fade">
114
114
  <div class="pankow-dialog-backdrop" @click="onDismiss" v-show="visible" :style="{ 'z-index': zIndex }"></div>
115
115
  </Transition>
116
- <Transition name="pankow-bounce-center-top">
116
+ <Transition :name="center ? 'pankow-bounce-center' : 'pankow-bounce-center-top'">
117
117
  <div ref="dialog" class="pankow-dialog" v-bind="$attrs" :class="{ 'pankow-dialog-center': center }" v-show="visible" @keydown.esc="onDismiss" tabindex="0" :style="mergedStyle">
118
118
  <div class="pankow-dialog-header" v-show="title">
119
119
  {{ title }}
@@ -172,6 +172,7 @@ defineExpose({ open, close });
172
172
  }
173
173
 
174
174
  .pankow-dialog-center {
175
+ position: fixed;
175
176
  top: 50%;
176
177
  transform: translateX(-50%) translateY(-50%);
177
178
  }