Skip to content

Commit

Permalink
fix: Add workaround for Viewport definition in Mobile - MEED-2819 - M…
Browse files Browse the repository at this point in the history
…eeds-io/meeds#1232 (#704)

This change will allow to define a custom value for viewport definition
to workaround the problem of viewport real size in Mobile Devices.
  • Loading branch information
boubaker authored and SaraBoutej committed Nov 21, 2023
1 parent 01ccc5f commit 04d1686
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
/* ============= Shared Layout - Main Page Structure ============= */
#ParentSiteContainer {
height: 100%;
min-height: 100vh;
max-height: 100vh;
min-height: ~"var(--100vh, 100vh)";
max-height: ~"var(--100vh, 100vh)";
display: flex;
flex-direction: row;

Expand All @@ -33,7 +33,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
flex-grow: 0;

#ParentSiteStickyMenu {
min-height: 100vh;
min-height: ~"var(--100vh, 100vh)";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
backface-visibility: hidden;
display: flex;
flex-direction: column;
min-height: 100vh;
min-height: ~"var(--100vh, 100vh)";
max-width: 100%;
position: relative;
}
Expand Down Expand Up @@ -27353,7 +27353,7 @@ html.overflow-y-hidden {
width: 100%;
}
.v-snack:not(.v-snack--absolute) {
height: 100vh;
height: ~"var(--100vh, 100vh)";
position: fixed;
z-index: 1000;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
.v-dialog {
transform: translate(0);
max-width: 100vw !important;
max-height: 100vh;
max-height: ~"var(--100vh, 100vh)";
margin: 0;
}

Expand All @@ -194,9 +194,9 @@
left: 0;
right: 0;
bottom: 0;
height: 100vh;
height: ~"var(--100vh, 100vh)";
width: 100vw;
max-height: 100vh;
max-height: ~"var(--100vh, 100vh)";
max-width: 100vw;
overflow: hidden;

Expand Down Expand Up @@ -539,7 +539,7 @@
@media (max-width : 959px) {
.VuetifyApp .v-application {
.uiPopup.v-dialog:not(.v-dialog--fullscreen) .v-card__text {
max-height: ~"calc(100vh - 235px)";
max-height: ~"calc(var(--100vh, 100vh) - 235px)";
overflow-y: auto;
overflow-x: hidden;

Expand All @@ -553,7 +553,7 @@
border-radius: 4px;
transform: translate(0);
max-width: 100vw !important;
max-height: 100vh;
max-height: ~"var(--100vh, 100vh)";
margin: 0;
}

Expand Down

0 comments on commit 04d1686

Please sign in to comment.