From ba3d0e6c4e3f075ef2b1bf05fce1b6f471ed1d29 Mon Sep 17 00:00:00 2001 From: neal1991 Date: Mon, 23 Oct 2017 20:51:17 +0800 Subject: [PATCH] remove font-size :bug: --- popup.html | 6 ------ scripts/widget.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/popup.html b/popup.html index 1b68fe6..5888f1f 100644 --- a/popup.html +++ b/popup.html @@ -11,10 +11,6 @@ height: 600px; } - .right-area { - font-size: 18px; - } - body { width: 800px; height: 600px; @@ -24,7 +20,6 @@ list-style: none; display: inline; margin-right: 5px; - font-size: 16px; font-weight: bold; } @@ -33,7 +28,6 @@ display: inline; color: gray; border-radius: 5px; - font-size: 16px; font-weight: bold; filter: alpha(opacity=50) } diff --git a/scripts/widget.js b/scripts/widget.js index 22243fc..23a282c 100644 --- a/scripts/widget.js +++ b/scripts/widget.js @@ -6,7 +6,7 @@ const MEDIUM_IMG_CDN = 'https://cdn-images-1.medium.com/max/' document.querySelector('.export').addEventListener('click', function () { if (sourceDiv.style.display === 'none') { - sourceDiv.style.display = 'block' + sourceDiv.style.display = null } createLoadForm() loadIcon.style.visibility = 'visible'