Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update browser extension setting page margins

Leendert de Borst018895e8e911
diff --git a/apps/browser-extension/src/entrypoints/background/ContextMenu.ts b/apps/browser-extension/src/entrypoints/background/ContextMenu.ts
index 6b6dba1e3..762f5708d 100644
--- a/apps/browser-extension/src/entrypoints/background/ContextMenu.ts
+++ b/apps/browser-extension/src/entrypoints/background/ContextMenu.ts
@@ -62,9 +62,7 @@ export function handleContextMenuClick(info: Browser.contextMenus.OnClickData, t
args: [password]
});
}
- }
-
- if (info.menuItemId === "aliasvault-activate-form" && tab?.id) {
+ } else if (info.menuItemId === "aliasvault-activate-form" && tab?.id) {
// First get the active element's identifier
browser.scripting.executeScript({
target: { tabId: tab.id },
diff --git a/apps/browser-extension/src/entrypoints/popup/pages/Settings.tsx b/apps/browser-extension/src/entrypoints/popup/pages/Settings.tsx
index 474018bb8..0d714f8ba 100644
--- a/apps/browser-extension/src/entrypoints/popup/pages/Settings.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/pages/Settings.tsx
@@ -358,7 +358,7 @@ const Settings: React.FC = () => {
{settings.isGloballyEnabled && (
<button
onClick={toggleCurrentSite}
- className={`px-4 py-2 rounded-md transition-colors ${
+ className={`px-4 py-2 ml-1 rounded-md transition-colors ${
settings.isEnabled
? 'bg-green-500 hover:bg-green-600 text-white'
: 'bg-red-500 hover:bg-red-600 text-white'