diff --git a/frontend/src/app/app.component.scss b/frontend/src/app/app.component.scss index dc759b5c38..2c8d6f0119 100644 --- a/frontend/src/app/app.component.scss +++ b/frontend/src/app/app.component.scss @@ -189,7 +189,7 @@ body { @media (max-width: 810px) { .app { - /* fallback */ + width: 100%; height: 100vh; /* apply the --vh variable as the height */ height: calc(var(--vh, 1vh) * 100); diff --git a/frontend/src/app/components/retire-token-dialog/retire-token-dialog.component.css b/frontend/src/app/components/retire-token-dialog/retire-token-dialog.component.css index 0803f7d37d..34f1b23888 100644 --- a/frontend/src/app/components/retire-token-dialog/retire-token-dialog.component.css +++ b/frontend/src/app/components/retire-token-dialog/retire-token-dialog.component.css @@ -146,9 +146,13 @@ display: none !important; } + .g-dialog-content { + height: calc(100% - 87px); + } + .g-dialog-body { width: 90%; - max-height: 48vh; + max-height: calc(100% - 90px); margin: 0 auto !important; padding: 0; } @@ -197,8 +201,6 @@ padding: 20px 0; position: fixed; bottom: 0; - left: 50%; - transform: translateX(-50%); } .lack-input { diff --git a/frontend/src/app/modules/common/token-dialog/token-dialog.component.css b/frontend/src/app/modules/common/token-dialog/token-dialog.component.css index 0e9cfdd055..fa8e388bac 100644 --- a/frontend/src/app/modules/common/token-dialog/token-dialog.component.css +++ b/frontend/src/app/modules/common/token-dialog/token-dialog.component.css @@ -43,10 +43,14 @@ margin-right: 0 !important; } + .g-dialog-content { + height: calc(100% - 87px); + } + .g-dialog-body { width: 90%; margin: 0 auto !important; - max-height: calc(var(--vh, 1vh) * 100 - var(--header-height) - 90px - 107px - 55px); + max-height: calc(100% - 90px); padding: 0; } diff --git a/frontend/src/app/modules/schema-engine/schema-form/schema-form.component.html b/frontend/src/app/modules/schema-engine/schema-form/schema-form.component.html index 0fec318fd8..3eed9b53e0 100644 --- a/frontend/src/app/modules/schema-engine/schema-form/schema-form.component.html +++ b/frontend/src/app/modules/schema-engine/schema-form/schema-form.component.html @@ -1,8 +1,6 @@