Merge pull request #2777 from brkcvn/master

Unused styling strokes ejected from Modals
This commit is contained in:
Burak Civan 2022-11-25 15:21:11 +03:00 committed by GitHub
commit e9752a28e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View File

@ -8,8 +8,8 @@
:aria-hidden="!show"> :aria-hidden="!show">
<div class="w-full my-10 m-auto flex flex-col" :class="modalDialogClass ? modalDialogClass : 'max-w-screen-sm'"> <div class="w-full my-10 m-auto flex flex-col" :class="modalDialogClass ? modalDialogClass : 'max-w-screen-sm'">
<slot name="modal-content"> <slot name="modal-content">
<div class="modal-content"> <div class="bg-body rounded-lg modal-content">
<div class="p-5 bg-body rounded-tl-lg rounded-tr-lg"> <div class="p-5">
<div class="flex items-center justify-between border-b pb-5"> <div class="flex items-center justify-between border-b pb-5">
<slot name="card-header"> <slot name="card-header">
<h4 class="text-base font-medium"> <h4 class="text-base font-medium">
@ -24,7 +24,7 @@
</div> </div>
<slot name="modal-body"> <slot name="modal-body">
<div class="px-5 bg-body"> <div class="px-5">
<template v-if="transaction"> <template v-if="transaction">
<div class="flex flex-col items-start gap-y-3"> <div class="flex flex-col items-start gap-y-3">
<div class="text-left text-sm"> <div class="text-left text-sm">
@ -247,7 +247,7 @@
</div> </div>
</slot> </slot>
<div class="p-5 bg-body rounded-bl-lg rounded-br-lg border-gray-300"> <div class="p-5 border-gray-300">
<slot name="card-footer"> <slot name="card-footer">
<div class="flex items-center justify-end"> <div class="flex items-center justify-end">
<button type="button" class="px-6 py-1.5 mr-2 hover:bg-gray-200 rounded-lg" @click="onCancel"> <button type="button" class="px-6 py-1.5 mr-2 hover:bg-gray-200 rounded-lg" @click="onCancel">

View File

@ -10,8 +10,8 @@
:aria-hidden="!show"> :aria-hidden="!show">
<div class="w-full my-10 m-auto flex flex-col px-2 sm:px-0" :class="modalDialogClass ? modalDialogClass : 'max-w-md'"> <div class="w-full my-10 m-auto flex flex-col px-2 sm:px-0" :class="modalDialogClass ? modalDialogClass : 'max-w-md'">
<slot name="modal-content"> <slot name="modal-content">
<div class="modal-content"> <div class="bg-body rounded-lg modal-content">
<div class="p-5 bg-body rounded-tl-lg rounded-tr-lg"> <div class="p-5">
<div class="flex items-center justify-between border-b pb-5"> <div class="flex items-center justify-between border-b pb-5">
<slot name="card-header"> <slot name="card-header">
<h4 class="text-base font-medium"> <h4 class="text-base font-medium">
@ -26,10 +26,10 @@
</div> </div>
<slot name="modal-body"> <slot name="modal-body">
<div class="py-1 px-5 bg-body" v-html="message"></div> <div class="py-1 px-5" v-html="message"></div>
</slot> </slot>
<div class="p-5 bg-body rounded-bl-lg rounded-br-lg border-gray-300"> <div class="p-5 border-gray-300">
<slot name="card-footer"> <slot name="card-footer">
<div class="flex items-center justify-end"> <div class="flex items-center justify-end">
<button type="button" class="px-6 py-1.5 ltr:mr-2 rtl:ml-2 hover:bg-gray-200 rounded-lg" @click="onCancel"> <button type="button" class="px-6 py-1.5 ltr:mr-2 rtl:ml-2 hover:bg-gray-200 rounded-lg" @click="onCancel">

View File

@ -10,8 +10,8 @@
:aria-hidden="!show"> :aria-hidden="!show">
<div class="w-full my-10 m-auto flex flex-col px-2 sm:px-0" :class="modalDialogClass ? modalDialogClass : 'max-w-md'"> <div class="w-full my-10 m-auto flex flex-col px-2 sm:px-0" :class="modalDialogClass ? modalDialogClass : 'max-w-md'">
<slot name="modal-content"> <slot name="modal-content">
<div class="modal-content"> <div class="bg-body rounded-lg modal-content">
<div class="p-5 bg-body rounded-tl-lg rounded-tr-lg"> <div class="p-5">
<div class="flex items-center justify-between border-b pb-5"> <div class="flex items-center justify-between border-b pb-5">
<slot name="card-header"> <slot name="card-header">
<h4 class="text-base font-medium"> <h4 class="text-base font-medium">
@ -26,15 +26,15 @@
</div> </div>
<slot name="modal-body"> <slot name="modal-body">
<div class="py-1 px-5 bg-body" v-if="!is_component" v-html="message"></div> <div class="py-1 px-5" v-if="!is_component" v-html="message"></div>
<div class="py-1 px-5 bg-body" v-else> <div class="py-1 px-5" v-else>
<form id="form-create" method="POST" action="#"/> <form id="form-create" method="POST" action="#"/>
<component v-bind:is="component"></component> <component v-bind:is="component"></component>
</div> </div>
</slot> </slot>
<div class="p-5 bg-body rounded-bl-lg rounded-br-lg border-gray-300"> <div class="p-5 border-gray-300">
<slot name="card-footer"> <slot name="card-footer">
<div class="flex items-center justify-end"> <div class="flex items-center justify-end">
<button type="button" class="px-6 py-1.5 mr-2 hover:bg-gray-200 rounded-lg" :class="buttons.cancel.class" @click="onCancel"> <button type="button" class="px-6 py-1.5 mr-2 hover:bg-gray-200 rounded-lg" :class="buttons.cancel.class" @click="onCancel">