Skip to content

Commit

Permalink
optimize mail flow responsive size
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Jul 22, 2024
1 parent 2d87286 commit 04462e6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Frontend/src/components/MailFlow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ const paddingRight = 5
const paddingBottom = 5
const maxItemsPerRow = computed(() => {
return $q.screen.gt.sm ? 6 : 2
if ($q.screen.gt.lg) {
return 6
} else if ($q.screen.gt.md) {
return 5
} else if ($q.screen.gt.sm) {
return 4
}
return 2
})
const requiredRows = computed(() => {
Expand Down

0 comments on commit 04462e6

Please sign in to comment.