From f04b9abf7811536463216bc24428340315b7308d Mon Sep 17 00:00:00 2001 From: Pigpig105 <81789882+Pigpig105@users.noreply.github.com> Date: Mon, 13 Feb 2023 15:06:47 -0800 Subject: [PATCH] Update login-view.js --- qortal-ui-core/src/components/login-view/login-view.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/qortal-ui-core/src/components/login-view/login-view.js b/qortal-ui-core/src/components/login-view/login-view.js index ebdf31f2..6e7e67a3 100644 --- a/qortal-ui-core/src/components/login-view/login-view.js +++ b/qortal-ui-core/src/components/login-view/login-view.js @@ -2,6 +2,7 @@ import { LitElement, html, css } from 'lit' import { connect } from 'pwa-helpers' import { store } from '../../store.js' import { stateAwait } from '../../stateAwait.js' +import { translate, translateUnsafeHTML } from 'lit-translate' import '@material/mwc-button' import '@material/mwc-icon' @@ -36,6 +37,7 @@ class LoginView extends connect(store)(LitElement) { config: { type: Object }, rippleLoadingMessage: { type: String }, selectedPageElement: {}, + nodeConfig: { type: Object }, theme: { type: String, reflect: true } } } @@ -132,10 +134,8 @@ class LoginView extends connect(store)(LitElement) { max-height:var(--window-height); margin-right: auto; margin-left: auto; - width: calc(100vw); } - .qortal-logo { margin-left: auto; margin-right: auto; @@ -202,7 +202,6 @@ class LoginView extends connect(store)(LitElement) { border-radius: 4px; } #loginContainerPages [page="welcome"] { - } } @media only screen and (max-width: ${getComputedStyle(document.body).getPropertyValue('--layout-breakpoint-tablet')}) { @@ -222,7 +221,6 @@ class LoginView extends connect(store)(LitElement) { padding-left:12px; } } - @keyframes fade { from { opacity: 0; @@ -258,9 +256,9 @@ class LoginView extends connect(store)(LitElement) { display: none; } -
settings.show()}> +

${translate("appinfo.uiversion")}: ${this.nodeConfig.version ? this.nodeConfig.version : ''}