Skip to content

Commit

Permalink
feat: Update css breakpoints value - MEED-3346 - Meeds-io/MIPs#113 (#737
Browse files Browse the repository at this point in the history
)

This PR changes the CSS breakpoints value

(cherry picked from commit 16cb2d5)
  • Loading branch information
SaraBoutej authored and exo-swf committed Feb 28, 2024
1 parent 6580607 commit 24af69f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
17 changes: 8 additions & 9 deletions platform-ui-skin/src/main/webapp/skin/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -419,15 +419,14 @@
// RESPONSIVE
// --------------------------------------------------
@smallMobileWidth: 380px;
@maxMobileWidth: 767px;
@minTabletWidth: (@maxMobileWidth + 1px);
@maxTabletWidth: 979px;
@minLargeTabletWidth: (@maxTabletWidth + 1px);
@maxLargeTabletWidth: 1023px;
@minDesktop: (@maxLargeTabletWidth + 1px);
@maxDesktop: 1279px;
@minLargeDesktop: (@maxDesktop + 1px);
@maxLargeDesktop: 1700px;
@maxMobileWidth: 599.98px;
@minTabletWidth: (@maxMobileWidth + 0.02px);
@maxTabletWidth: 959.98px;
@minLargeTabletWidth: (@maxTabletWidth + 0.02px);
@maxLargeTabletWidth: 1263.98px;
@minDesktop: (@maxLargeTabletWidth + 0.02px);
@maxDesktop: 1903.98px;
@minLargeDesktop: (@maxDesktop + 0.02px);

// Default 940px grid
// -------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3790,27 +3790,27 @@ html.overflow-y-hidden {
display: none !important;
}
}
@media only screen and (min-width: @minTabletWidth) and (max-width: 1263px) {
@media only screen and (min-width: @minLargeTabletWidth) and (max-width: @maxLargeTabletWidth) {
.v-application .hidden-md-only {
display: none !important;
}
}
@media only screen and (max-width: 1263px) {
@media only screen and (max-width: @maxLargeTabletWidth) {
.v-application .hidden-md-and-down {
display: none !important;
}
}
@media only screen and (min-width: @minTabletWidth) {
@media only screen and (min-width: @minLargeTabletWidth) {
.v-application .hidden-md-and-up {
display: none !important;
}
}
@media only screen and (min-width: @minDesktop) and (max-width: 1903px) {
@media only screen and (min-width: @minDesktop) and (max-width: @maxDesktop) {
.v-application .hidden-lg-only {
display: none !important;
}
}
@media only screen and (max-width: 1903px) {
@media only screen and (max-width: @maxDesktop) {
.v-application .hidden-lg-and-down {
display: none !important;
}
Expand Down Expand Up @@ -21432,7 +21432,7 @@ html.overflow-y-hidden {
.v-bottom-sheet.v-dialog.v-bottom-sheet--inset {
max-width: 70%;
}
@media only screen and (max-width: 599px) {
@media only screen and (max-width: @maxMobileWidth) {
.v-bottom-sheet.v-dialog.v-bottom-sheet--inset {
max-width: none;
}
Expand Down Expand Up @@ -24910,7 +24910,7 @@ html.overflow-y-hidden {
margin-right: 0%;
}
}
@media all and (min-width: @minTabletWidth) {
@media all and (min-width: @minLargeTabletWidth) {
.flex.md12 {
flex-basis: 100%;
flex-grow: 0;
Expand Down Expand Up @@ -25580,7 +25580,7 @@ html.overflow-y-hidden {
margin-right: auto;
margin-left: auto;
}
@media (min-width: @minTabletWidth) {
@media (min-width: @minLargeTabletWidth) {
.container {
max-width: 900px;
}
Expand Down Expand Up @@ -25940,7 +25940,7 @@ html.overflow-y-hidden {
margin-right: 91.6666666667%;
}
}
@media (min-width: @minTabletWidth) {
@media (min-width: @minLargeTabletWidth) {
.col-md {
flex-basis: 0;
flex-grow: 1;
Expand Down

0 comments on commit 24af69f

Please sign in to comment.