mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix: Fix all modal sizes (#6820)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
scrollable: scrollable,
|
||||
[getCustomClass()]: true,
|
||||
}"
|
||||
:center="center"
|
||||
:width="width"
|
||||
:show-close="showClose"
|
||||
:close-on-click-modal="closeOnClickModal"
|
||||
@@ -14,6 +15,7 @@
|
||||
:style="styles"
|
||||
:append-to-body="appendToBody"
|
||||
:data-test-id="`${this.name}-modal`"
|
||||
:modal-class="center ? $style.center : ''"
|
||||
>
|
||||
<template #header v-if="$slots.header">
|
||||
<slot name="header" v-if="!loading" />
|
||||
@@ -235,9 +237,7 @@ export default defineComponent({
|
||||
</style>
|
||||
|
||||
<style lang="scss" module>
|
||||
.center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.center > div {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user