Skip to content

Commit

Permalink
refactor: move content ref to real content el
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemek Spaczek committed Jan 16, 2020
1 parent 04604c8 commit b969f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue/src/components/molecules/SfModal/SfModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
>
</SfOverlay>
<transition :name="transitionModal">
<div v-if="visible" ref="content" class="sf-modal__container">
<div v-if="visible" class="sf-modal__container">
<button v-if="cross" class="sf-modal__close" @click="close">
<!--@slot Use this slot to place content inside the close button.-->
<slot name="close">
<SfIcon icon="cross" size="15px" color="gray-secondary" />
</slot>
</button>
<div class="sf-modal__content">
<div ref="content" class="sf-modal__content">
<!--@slot Use this slot to place content inside the modal.-->
<slot />
</div>
Expand Down

0 comments on commit b969f6d

Please sign in to comment.