8.0.5 #228

Merged
wanhose merged 5 commits from v8.0.5 into main 2024-11-11 19:12:17 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 5fa4b9566c - Show all commits

View File

@ -121,7 +121,7 @@
</svg>
</a>
</p>
<div class="grid">
<div class="content">
<button class="popup-button" disabled id="power-option">
<svg
aria-hidden="true"

View File

@ -124,7 +124,7 @@ async function handleContentLoaded() {
const { exclusions } = (await dispatch({ hostname, type: 'GET_DATA' })) ?? {};
const currentVersion = browser.runtime.getManifest().version;
const latestVersion = await dispatch({ type: 'GET_LATEST_VERSION' });
const updateAvailable = currentVersion !== latestVersion;
const updateAvailable = latestVersion && currentVersion !== latestVersion;
if (updateAvailable) {
const updateBanner = document.getElementById('update-banner');

View File

@ -96,7 +96,7 @@ header {
}
}
.grid {
.content {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;