From 890ff395c09c5ded60bae29bd9ab0ac63772878f Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 10 Feb 2021 12:11:52 +0300 Subject: [PATCH 1/3] use a new solid gear icon everywhere (#1173) --- edit.html | 8 ++++---- manage.html | 4 ++-- manage/manage.css | 3 ++- popup.html | 4 ++-- popup/popup.css | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/edit.html b/edit.html index 809f1044..e7a2cf07 100644 --- a/edit.html +++ b/edit.html @@ -343,7 +343,7 @@ - +
@@ -397,7 +397,7 @@
- + @@ -450,8 +450,8 @@ - - + + diff --git a/manage.html b/manage.html index c11f9ea7..5ae4ae34 100644 --- a/manage.html +++ b/manage.html @@ -364,8 +364,8 @@ - - + + diff --git a/manage/manage.css b/manage/manage.css index 6a4afa3c..470d01dc 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -151,7 +151,8 @@ a:hover { } .svg-icon.config { - transform: scale(.8); + width: 16px; + height: 16px; } .homepage { diff --git a/popup.html b/popup.html index dfa86071..4b8ce303 100644 --- a/popup.html +++ b/popup.html @@ -280,8 +280,8 @@ - - + + diff --git a/popup/popup.css b/popup/popup.css index 883ac56c..74be4f6f 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -291,8 +291,8 @@ html[style*="border"] .entry:nth-child(11):before { } .svg-icon.config { - height: 14px; - width: 14px; + height: 16px; + width: 16px; } a.configure[target="_blank"] .svg-icon.config { From 83adc5aa1e1ee09150c253499e481644103ea3c0 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 10 Feb 2021 18:29:34 +0300 Subject: [PATCH 2/3] fix #1176 --- install-usercss/install-usercss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-usercss/install-usercss.js b/install-usercss/install-usercss.js index 796f5a56..eb6f9b5a 100644 --- a/install-usercss/install-usercss.js +++ b/install-usercss/install-usercss.js @@ -14,7 +14,6 @@ let installedDup; let liveReload; let tabId; -window.on('resize', adjustCodeHeight); // "History back" in Firefox (for now) restores the old DOM including the messagebox, // which stays after installing since we don't want to wait for the fadeout animation before resolving. document.on('visibilitychange', () => { @@ -81,6 +80,7 @@ setTimeout(() => { colorpicker: true, theme, }); + window.on('resize', adjustCodeHeight); if (error) { showBuildError(error); } From 75db3601d0f59424e6cf85b8c6746e33f108359d Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 10 Feb 2021 19:47:07 +0300 Subject: [PATCH 3/3] fix #1177 regressed in fdbfb235 --- popup/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup/events.js b/popup/events.js index eb06e0ad..3f165b15 100644 --- a/popup/events.js +++ b/popup/events.js @@ -154,7 +154,7 @@ const Events = { }; window.on('keydown', box._onkeydown); moveFocus(box, 0); - Events.hideModal(oldBox); + if (oldBox) Events.hideModal(oldBox); }, async toggleState(event) {