Fixed dialog w/footer border radius issue on TW Theme

pull/4299/head
ATAKAN TEPE 2023-08-18 15:15:49 +03:00
parent 3fe058e2ad
commit 506fb3ee29
1 changed files with 6 additions and 3 deletions

View File

@ -427,14 +427,17 @@ export default {
closeButtonIcon: { closeButtonIcon: {
class: 'w-4 h-4 inline-block' class: 'w-4 h-4 inline-block'
}, },
content: ({ state }) => ({ content: ({ state, instance }) => ({
class: [ class: [
'overflow-y-auto', 'overflow-y-auto',
'bg-white text-gray-700 px-6 pb-8 pt-0', 'bg-white text-gray-700 px-6 pb-8 pt-0',
'rounded-bl-lg rounded-br-lg', ,
'dark:bg-gray-900 dark:text-white/80 ', 'dark:bg-gray-900 dark:text-white/80',
{ {
grow: state.maximized grow: state.maximized
},
{
'rounded-bl-lg rounded-br-lg': !instance.$slots.footer
} }
] ]
}), }),