fixed Sidebar: using unstyled mode and Tailwind theme, the :modal="false" doesn't work. Can't disable the modal layer. #4288
parent
7b09579d2c
commit
3fe058e2ad
|
@ -551,9 +551,9 @@ export default {
|
||||||
content: {
|
content: {
|
||||||
class: ['p-5 pt-0 h-full w-full', 'grow overflow-y-auto']
|
class: ['p-5 pt-0 h-full w-full', 'grow overflow-y-auto']
|
||||||
},
|
},
|
||||||
mask: {
|
mask: ({ props }) => ({
|
||||||
class: ['flex pointer-events-auto', 'bg-black bg-opacity-40 transition duration-200 z-20 transition-colors']
|
class: ['flex pointer-events-auto', 'transition duration-200 z-20 transition-colors', { 'bg-black/40': props.modal }]
|
||||||
},
|
}),
|
||||||
transition: ({ props }) => {
|
transition: ({ props }) => {
|
||||||
return props.position === 'top'
|
return props.position === 'top'
|
||||||
? {
|
? {
|
||||||
|
|
Loading…
Reference in New Issue