diff options
| author | taehoon <th.dev91@gmail.com> | 2019-09-05 12:22:56 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-09-20 11:35:47 -0400 |
| commit | 37ae0fd92c2d392cda56912707e6c52faec54334 (patch) | |
| tree | 8cf503c0c4167b3e6253fc4e5949a5390b84a326 | |
| parent | 92be5a68776633b166323108dd34216eaae20753 (diff) | |
fix logo moving bug when lightbox is open
| -rw-r--r-- | src/App.scss | 1 | ||||
| -rw-r--r-- | src/App.vue | 24 |
2 files changed, 13 insertions, 12 deletions
diff --git a/src/App.scss b/src/App.scss index 3914cec2..a8850961 100644 --- a/src/App.scss +++ b/src/App.scss @@ -392,6 +392,7 @@ i[class*=icon-] { } .inner-nav { + position: relative; margin: auto; box-sizing: border-box; padding-left: 10px; diff --git a/src/App.vue b/src/App.vue index d7453549..eb571a17 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,20 +15,20 @@ class="nav-bar container" @click="scrollToTop()" > - <div - class="logo" - :style="logoBgStyle" - > + <div class="inner-nav"> <div - class="mask" - :style="logoMaskStyle" - /> - <img - :src="logo" - :style="logoStyle" + class="logo" + :style="logoBgStyle" > - </div> - <div class="inner-nav"> + <div + class="mask" + :style="logoMaskStyle" + /> + <img + :src="logo" + :style="logoStyle" + > + </div> <div class="item"> <router-link class="site-name" |
