Fix style and current tab url detection logics.
This commit is contained in:
@@ -217,6 +217,7 @@ function setupHeaderModListener() {
|
|||||||
|
|
||||||
function onTabUpdated(tab) {
|
function onTabUpdated(tab) {
|
||||||
if (tab.active) {
|
if (tab.active) {
|
||||||
|
delete localStorage.currentTabUrl;
|
||||||
// Since we don't have access to the "tabs" permission, we may not have
|
// 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
|
// access to the url property all the time. So, match it against the URL
|
||||||
// found during request modification.
|
// found during request modification.
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
html, body {
|
html, body {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
height: 464px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -38,7 +37,7 @@ body::-webkit-scrollbar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
height: 400px;
|
height: 100%;
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user