Support modals with content outside the white background area

This commit is contained in:
Dane Everitt 2019-05-14 16:48:38 -07:00
parent be03dba5b5
commit da2044fb10
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 10 additions and 4 deletions

View file

@ -5,7 +5,9 @@
<div class="modal-close-icon" v-on:click="close" v-if="dismissable && showCloseIcon">
<Icon name="x" aria-label="Close modal" role="button"/>
</div>
<slot/>
<div class="modal-content">
<slot/>
</div>
</div>
</div>
</transition>