From faabfbecaa0b41fc72f9ed715244887651fe8352 Mon Sep 17 00:00:00 2001 From: MikeCheng1208 Date: Wed, 25 Jul 2018 18:51:36 +0800 Subject: [PATCH] ui fix --- dapp/public/index.html | 23 +++++++++++++++++++++-- dapp/src/components/indexUi.css | 5 ++--- dapp/src/components/indexUi.scss | 6 +++--- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/dapp/public/index.html b/dapp/public/index.html index 33b33ad..c891ad7 100644 --- a/dapp/public/index.html +++ b/dapp/public/index.html @@ -19,15 +19,25 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - Nifty Game + Portal Network - Big and Small + + + + + +
- + + + + + + + + + diff --git a/dapp/src/components/indexUi.css b/dapp/src/components/indexUi.css index e6cfa89..76e4f2c 100644 --- a/dapp/src/components/indexUi.css +++ b/dapp/src/components/indexUi.css @@ -68,9 +68,8 @@ position: absolute; width: 200px; height: auto; - bottom: 100px; - left: 50%; - margin-left: -100px; + top: 20px; + right: 10px; display: flex; justify-content: space-around; align-items: center; } diff --git a/dapp/src/components/indexUi.scss b/dapp/src/components/indexUi.scss index b71d0b1..2fd5416 100644 --- a/dapp/src/components/indexUi.scss +++ b/dapp/src/components/indexUi.scss @@ -16,9 +16,9 @@ position: absolute; width: 200px; height: auto; - bottom: 100px; - left: 50%; - margin-left: -(200px / 2); + top: 20px; + right: 10px; + // margin-left: -(200px / 2); display: flex; justify-content: space-around; align-items: center;