Skip to content

Commit

Permalink
feat(popover): add background opacity for mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
lecoueyl committed Apr 15, 2021
1 parent 313d300 commit aaf8de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/popover/Popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>

<div
class="fixed inset-0 opacity-0 z-40"
class="fixed inset-0 bg-gray-500 dark:bg-gray-600 opacity-25 sm:opacity-0 z-40"
:class="[
isOpen ? 'visible' : 'invisible',
]"
Expand Down

0 comments on commit aaf8de1

Please sign in to comment.