From c9f494d2c19e60e802c6402d8ad124f504067541 Mon Sep 17 00:00:00 2001 From: Ilya Y <75578537+ilya-bkv@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:59:39 +0300 Subject: [PATCH] Hide autofill in profile settings (#442) * hide autofill in profile settings --- src/components/ProfileSettings/ProfileSettings.tsx | 10 ++++++---- src/pages/profile/Settings.module.scss | 11 +++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/components/ProfileSettings/ProfileSettings.tsx b/src/components/ProfileSettings/ProfileSettings.tsx index 2e393710..9d405a9b 100644 --- a/src/components/ProfileSettings/ProfileSettings.tsx +++ b/src/components/ProfileSettings/ProfileSettings.tsx @@ -195,7 +195,7 @@ export const ProfileSettings = () => {

{t('Profile settings')}

{t('Here you can customize your profile the way you want.')}

-
+

{t('Userpic')}

{
updateFormField('name', event.currentTarget.value)} value={form.name} ref={(el) => (nameInputRef.current = el)} /> - +
{ type="text" name="user-address" id="user-address" + data-lpignore="true" autocomplete="one-time-code2" onInput={(event) => updateFormField('slug', event.currentTarget.value)} value={form.slug} diff --git a/src/pages/profile/Settings.module.scss b/src/pages/profile/Settings.module.scss index 898b2496..9bd4906c 100644 --- a/src/pages/profile/Settings.module.scss +++ b/src/pages/profile/Settings.module.scss @@ -320,3 +320,14 @@ h5 { margin-bottom: 0; } } + +// disable last pass extention + +div[data-lastpass-icon-root="true"] { + opacity: 0 !important; +} + +div[data-lastpass-infield="true"] { + opacity: 0 !important; +} +