Skip to content

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

Reduce size of popup (#541)

Leendert de Borst5daa95a876c8
diff --git a/browser-extensions/chrome/src/contentScript/Popup.ts b/browser-extensions/chrome/src/contentScript/Popup.ts
index 68b51f576..c790ecf5c 100644
--- a/browser-extensions/chrome/src/contentScript/Popup.ts
+++ b/browser-extensions/chrome/src/contentScript/Popup.ts
@@ -30,7 +30,7 @@ export function createBasePopup(input: HTMLInputElement) : HTMLElement {
popup.id = 'aliasvault-credential-popup';
// Set popup width to match input width, with min/max constraints
- const popupWidth = 400;
+ const popupWidth = 320;
popup.style.cssText = `
position: absolute;
@@ -137,7 +137,7 @@ export function createAutofillPopup(input: HTMLInputElement, credentials: Creden
const credentialList = document.createElement('div');
credentialList.id = 'aliasvault-credential-list';
credentialList.style.cssText = `
- max-height: 300px;
+ max-height: 180px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: ${isDarkMode() ? '#4b5563 #1f2937' : '#d1d5db #ffffff'};