From a9201c794e92fe9fed3b035d571b9539949b4364 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 17 May 2021 19:11:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):i18n=20fix;run=20build=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=86=B2=E7=AA=81=20fix=E5=90=8E=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/components/Editor/PreviewFullScreen.vue | 2 +- frontend/src/components/canvas/components/Toolbar.vue | 6 +++--- .../src/components/canvas/custom-component/UserView.vue | 2 +- frontend/src/lang/en.js | 4 ++-- frontend/src/lang/zh.js | 2 +- frontend/src/layout/components/Topbar.vue | 2 +- frontend/src/styles/index.scss | 4 ++-- frontend/src/styles/variables.scss | 2 +- frontend/src/views/login/index.vue | 4 ++-- frontend/src/views/panel/edit/index.vue | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/canvas/components/Editor/PreviewFullScreen.vue b/frontend/src/components/canvas/components/Editor/PreviewFullScreen.vue index 730c1c558f..1ba977c4df 100644 --- a/frontend/src/components/canvas/components/Editor/PreviewFullScreen.vue +++ b/frontend/src/components/canvas/components/Editor/PreviewFullScreen.vue @@ -1,5 +1,5 @@ - + {{ name }} diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 8234c98520..b0661ad2fa 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -13,7 +13,7 @@ body { - height: $contentHeight; + //height: $contentHeight; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; @@ -30,7 +30,7 @@ html { } #app { - height: $contentHeight; + //height: $contentHeight; } *, diff --git a/frontend/src/styles/variables.scss b/frontend/src/styles/variables.scss index 737f134ef3..017776b1ff 100644 --- a/frontend/src/styles/variables.scss +++ b/frontend/src/styles/variables.scss @@ -42,7 +42,7 @@ $subMenuHover:#f18126; $sideBarWidth: 210px; $topBarHeight: 56px; -$contentHeight: 100vh; +$contentHeight: calc(100vh - 56px); // the :export directive is the magic sauce for webpack // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 0edad9a879..f3c1f7a879 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -33,7 +33,7 @@