Skip to content

Commit

Permalink
Merge pull request #6266 from nextcloud-libraries/fix/13867/focus-fir…
Browse files Browse the repository at this point in the history
…st-not-close
  • Loading branch information
Antreesy authored Dec 6, 2024
2 parents 6c6a55b + a2ee270 commit 6f2e76a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/NcModal/NcModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ export default {

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

<!-- Navigation button -->
Expand Down

0 comments on commit 6f2e76a

Please sign in to comment.