Skip to content

Commit

Permalink
feat: fix program details ui glitch when mobile - MEED-3346 - Meeds-i…
Browse files Browse the repository at this point in the history
…o/MIPs#113 (#1480)

This PR allows fixing a UI glitch on the program details page on mobile due to the breakpoints change.
  • Loading branch information
SaraBoutej authored and boubaker committed May 7, 2024
1 parent 1a16ac9 commit 4104c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export default {
return this.isMobile ? 70 : 173;
},
isMobile() {
return this.$vuetify.breakpoint.xsOnly;
return this.$vuetify.breakpoint.smAndDown;
},
space() {
return this.program?.space;
Expand Down Expand Up @@ -447,4 +447,4 @@ export default {
},
}
};
</script>
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default {
}];
},
isMobile() {
return this.$vuetify.breakpoint.xs;
return this.$vuetify.breakpoint.smAndDown;
}
},
watch: {
Expand Down Expand Up @@ -213,4 +213,4 @@ export default {
}
}
};
</script>
</script>

0 comments on commit 4104c67

Please sign in to comment.