From 575598da32b6367ccf70ee350f2ee3c6058d6953 Mon Sep 17 00:00:00 2001 From: taehoon Date: Mon, 25 Nov 2019 13:01:07 -0500 Subject: [PATCH] link instance logo to homepage --- src/App.scss | 12 ++++-------- src/App.vue | 5 +++-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/App.scss b/src/App.scss index 754ca62e..2c401a2c 100644 --- a/src/App.scss +++ b/src/App.scss @@ -325,7 +325,6 @@ i[class*=icon-] { } .item { - flex: 1; line-height: 50px; height: 50px; overflow: hidden; @@ -358,16 +357,12 @@ i[class*=icon-] { position: absolute; top: 0; bottom: 0; - left: 0; - right: 0; - - align-items: stretch; - justify-content: center; - flex: 0 0 auto; - z-index: -1; + left: 50%; + transform: translateX(-50%); transition: opacity; transition-timing-function: ease-out; transition-duration: 100ms; + cursor: pointer; .mask { mask-repeat: no-repeat; @@ -398,6 +393,7 @@ i[class*=icon-] { padding-right: 10px; display: flex; align-items: center; + justify-content: space-between; flex-basis: 970px; height: 50px; diff --git a/src/App.vue b/src/App.vue index 1b1c2648..c2b476cf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -16,7 +16,8 @@ @click="scrollToTop()" >
- +