Skip to content

Commit

Permalink
fix: improve fullscreen break points for modal, close #146
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 2, 2023
1 parent ca44a3f commit 18309b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const props = withDefaults(defineProps<{
})
const { width, height } = useWindowSize()
const isSmall = computed(() => width.value < 700 || height.value < 700)
const isSmall = computed(() => width.value < 600 || height.value < 450)
const positionClass = computed(() => {
if (isSmall.value)
Expand Down

0 comments on commit 18309b9

Please sign in to comment.