From 06148717bdba9df0635a7df43786051573c61de5 Mon Sep 17 00:00:00 2001 From: Dominik Guzei Date: Tue, 23 Jul 2024 12:51:16 +0200 Subject: [PATCH] fix: center eye icon in password input component [LW-10644] --- src/design-system/password-box/password-box-button.css.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/design-system/password-box/password-box-button.css.ts b/src/design-system/password-box/password-box-button.css.ts index 51ce678..ad40014 100644 --- a/src/design-system/password-box/password-box-button.css.ts +++ b/src/design-system/password-box/password-box-button.css.ts @@ -10,7 +10,9 @@ export const inputButton = style([ background: vars.colors.$input_button_bgColor, border: 'none', cursor: 'pointer', - flex: 'none', + display: 'flex', + alignItems: 'center', + justifyContent: 'center', ':disabled': { cursor: 'default',