Skip to content

Commit

Permalink
fixed Sidebar: using unstyled mode and Tailwind theme, the :modal="fa…
Browse files Browse the repository at this point in the history
…lse" doesn't work. Can't disable the modal layer. #4288
  • Loading branch information
atakantepe committed Aug 18, 2023
1 parent 7b09579 commit 3fe058e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,9 @@ export default {
content: {
class: ['p-5 pt-0 h-full w-full', 'grow overflow-y-auto']
},
mask: {
class: ['flex pointer-events-auto', 'bg-black bg-opacity-40 transition duration-200 z-20 transition-colors']
},
mask: ({ props }) => ({
class: ['flex pointer-events-auto', 'transition duration-200 z-20 transition-colors', { 'bg-black/40': props.modal }]
}),
transition: ({ props }) => {
return props.position === 'top'
? {
Expand Down

0 comments on commit 3fe058e

Please sign in to comment.