File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 55 <div class =" modal-close-icon" v-on:click =" close" v-if =" dismissable && showCloseIcon" >
66 <Icon name =" x" aria-label =" Close modal" role =" button" />
77 </div >
8- <slot />
8+ <div class =" modal-content" >
9+ <slot />
10+ </div >
911 </div >
1012 </div >
1113 </transition >
Original file line number Diff line number Diff line change 44 transition: opacity 250ms ease;
55
66 & > .modal-container {
7- @apply .relative .bg-white .w-full .max-w-md .m-auto .flex-col .flex .rounded .shadow-md ;
8- transition: all 250ms ease;
9- margin- to p: 15%;
7+ @apply .relative .w-full .max-w-md .m-auto .flex-col .flex ;
108
119 & > .modal-close-icon {
1210 @apply .absolute .pin-r .p-2 .text-white .cursor-pointer .opacity-50 ;
1917 }
2018 }
2119
20+ & > .modal-content {
21+ @apply .bg-white .rounded .shadow-md ;
22+ transition: all 250ms ease;
23+ margin- to p: 15%;
24+ }
25+
2226 /**
2327 * On tiny phone screens make sure there is a margin on the sides and also
2428 * center the modal rather than putting it towards the top of the screen.
You can’t perform that action at this time.
0 commit comments