Skip to content

Commit

Permalink
Merge pull request #3230 from nextcloud/bugfix/noid/fix-unclickable-c…
Browse files Browse the repository at this point in the history
…lose-button

Move the close button to the end of the content
  • Loading branch information
PVince81 authored Sep 15, 2022
2 parents ce416d9 + 769f429 commit 0474ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcModal/NcModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ export default {

<!-- Content -->
<div :id="'modal-description-' + randId" class="modal-container">
<!-- @slot Modal content to render -->
<slot />
<!-- Close modal -->
<NcButton v-if="canClose && closeButtonContained"
type="tertiary"
Expand All @@ -284,8 +286,6 @@ export default {
<Close :size="20" />
</template>
</NcButton>
<!-- @slot Modal content to render -->
<slot />
</div>

<!-- Navigation button -->
Expand Down

0 comments on commit 0474ab8

Please sign in to comment.