Fixed dialog w/footer border radius issue on TW Theme
parent
3fe058e2ad
commit
506fb3ee29
|
@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue