Skip to content

Commit

Permalink
feat: Update Perkstore UI with the new breakpoints values - MEED-3346 -
Browse files Browse the repository at this point in the history
Meeds-io/MIPs#113 (#323)

This PR allows to update the maxLargeDesktop breakpoint by minLargeDesktop since it is removed from the platform ui variable breakpoints and fix some UI glitch due to the breakpoints changed values.

(cherry picked from commit 97b3ed6)
  • Loading branch information
SaraBoutej authored and exo-swf committed Feb 28, 2024
1 parent 349cd9c commit 8b0c916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions perk-store-webapps/src/main/webapp/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
}
}

@media (min-width : @maxLargeDesktop) {
@media (min-width : @minLargeDesktop) {
#PerkStoreApp {
.perkStoreDetailContent {
width: 20%;
Expand Down Expand Up @@ -1409,4 +1409,4 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
margin-top: 0;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default {
}),
computed: {
isMobile() {
return this.$vuetify.breakpoint.xs;
return this.$vuetify.breakpoint.smAndDown;
},
},
watch: {
Expand Down

0 comments on commit 8b0c916

Please sign in to comment.