From eac4c4ae52cef7979d84c4d1b42ae0165196e8cb Mon Sep 17 00:00:00 2001 From: BuptStEve <2747745470@qq.com> Date: Tue, 26 Feb 2019 01:00:02 +0800 Subject: [PATCH] fix: tooltip --- package.json | 2 +- src/DemoAndCode.vue | 5 ----- src/OnlineEdit.vue | 4 +--- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index e09ef53..db550c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vuepress-plugin-demo-code", - "version": "0.3.4", + "version": "0.3.5", "description": "📝 Demo and code plugin for vuepress", "main": "src/index.js", "files": [ diff --git a/src/DemoAndCode.vue b/src/DemoAndCode.vue index 88d5939..e51e673 100644 --- a/src/DemoAndCode.vue +++ b/src/DemoAndCode.vue @@ -168,7 +168,6 @@ body { z-index: 9; display: flex; - overflow: hidden; justify-content: space-between; width: 100%; @@ -201,10 +200,6 @@ body { border-bottom: 6px solid #2c3e50; border-left: 6px solid transparent; } - - .online-wrapper { - margin-right: 5px; - } } .code-wrapper { diff --git a/src/OnlineEdit.vue b/src/OnlineEdit.vue index 448d8ed..3b51b8c 100644 --- a/src/OnlineEdit.vue +++ b/src/OnlineEdit.vue @@ -108,8 +108,6 @@ export default { .demo-and-code-online-edit-wrapper { display: inline-block; - width: 36px; - vertical-align: middle; button { @@ -145,7 +143,7 @@ export default { } &:after { - top: -6px; + top: -7px; content: '';