From 15a8bf250d455c8a8d0f9272dff93f53eb498934 Mon Sep 17 00:00:00 2001 From: Zoe Date: Thu, 18 Jan 2018 09:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=91=BD=E4=BB=A4=E6=A1=86bu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Components/commandLineInput/InputHint.css | 3 --- src/UI/Css/style.less | 2 +- src/UI/Layout/ApplicationLayout.tsx | 7 ++++++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/UI/Components/commandLineInput/InputHint.css b/src/UI/Components/commandLineInput/InputHint.css index 884e0fd49..aadc4c2bd 100644 --- a/src/UI/Components/commandLineInput/InputHint.css +++ b/src/UI/Components/commandLineInput/InputHint.css @@ -18,11 +18,8 @@ a { #input-hint { width: 100%; - position: fixed; color: #000; z-index: 99; - left: 0; - bottom: 16px; } diff --git a/src/UI/Css/style.less b/src/UI/Css/style.less index 50661097b..a778241d4 100644 --- a/src/UI/Css/style.less +++ b/src/UI/Css/style.less @@ -207,9 +207,9 @@ body { .win { position: absolute; + bottom:30px; min-width: 100px; min-height: 20px; // left:100px; - // top:300px; background: #666; border: 5px solid #444444; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); diff --git a/src/UI/Layout/ApplicationLayout.tsx b/src/UI/Layout/ApplicationLayout.tsx index 8a607153d..9c351a2d3 100644 --- a/src/UI/Layout/ApplicationLayout.tsx +++ b/src/UI/Layout/ApplicationLayout.tsx @@ -69,7 +69,12 @@ export class WebCAD let down = document.createElement("div"); - down.style.height = "15px"; + down.style.cssText = ` + position: fixed; + bottom: 0; + height: 15px; + width: 100%; + `; down.id = "DownPanel"; document.body.appendChild(down); return root;