From 96261a94b9c020e8697ac2bc700e988fadbcc241 Mon Sep 17 00:00:00 2001 From: Hao Nguyen Date: Sun, 14 Jul 2019 07:13:26 -0700 Subject: [PATCH] Fix style and current tab url detection logics. --- src/background.js | 1 + src/styles/style.css | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background.js b/src/background.js index 47cf501..06fd2de 100644 --- a/src/background.js +++ b/src/background.js @@ -217,6 +217,7 @@ function setupHeaderModListener() { function onTabUpdated(tab) { if (tab.active) { + delete localStorage.currentTabUrl; // Since we don't have access to the "tabs" permission, we may not have // access to the url property all the time. So, match it against the URL // found during request modification. diff --git a/src/styles/style.css b/src/styles/style.css index 4ab4d0c..48c0fb7 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -1,6 +1,5 @@ html, body { width: 600px; - height: 464px; } a { @@ -38,7 +37,7 @@ body::-webkit-scrollbar { } .main-content { - height: 400px; + height: 100%; margin-bottom: 60px; }