Skip to content

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

Update HeaderButton.tsx style with fixed min width/height (#2323)

Leendert de Borst7f99ac4816bd
diff --git a/apps/browser-extension/src/entrypoints/popup/components/HeaderButton.tsx b/apps/browser-extension/src/entrypoints/popup/components/HeaderButton.tsx
index 62786281b..15285bf60 100644
--- a/apps/browser-extension/src/entrypoints/popup/components/HeaderButton.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/components/HeaderButton.tsx
@@ -50,7 +50,7 @@ const HeaderButton: React.FC<HeaderButtonProps> = ({
id={id}
onClick={onClick}
disabled={isDisabled}
- className={`p-2 rounded-lg transition-colors ${stateClasses} ${isDisabled ? 'opacity-50 cursor-not-allowed' : ''}`}
+ className={`inline-flex items-center justify-center min-w-[30px] min-h-[30px] rounded-lg transition-colors ${stateClasses} ${isDisabled ? 'opacity-50 cursor-not-allowed' : ''}`}
title={title}
>
{isLoading ? (