From 699d5063d9635e4dd0ab2a322b15368562a0df40 Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Date: Tue, 20 Jul 2021 13:28:39 -0700 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20style=20and=20a?= =?UTF-8?q?ccessibility=20issues=20for=20hidden=20secret?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix style and accessibility issues for hidden secret component --- addons/core/translations/resources/en-us.yaml | 2 ++ .../app/components/hidden-secret/index.hbs | 12 +++++++----- ui/desktop/app/styles/app.scss | 18 ++++++++++-------- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 2c9712a67..0e8a331b8 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -267,6 +267,8 @@ target: add: title: Add Host Sets description: Select host sets to assign to this target. + secret: + toggle: Toggle secret visibility. credential-store: title: Credential Store title_plural: Credential Stores diff --git a/ui/desktop/app/components/hidden-secret/index.hbs b/ui/desktop/app/components/hidden-secret/index.hbs index 8b5cc1cac..18474329c 100644 --- a/ui/desktop/app/components/hidden-secret/index.hbs +++ b/ui/desktop/app/components/hidden-secret/index.hbs @@ -1,9 +1,11 @@
- + > + {{t 'resources.target.secret.toggle'}} + {{this.textMask}} {{/if}}
\ No newline at end of file diff --git a/ui/desktop/app/styles/app.scss b/ui/desktop/app/styles/app.scss index f65623c56..617f09ea5 100644 --- a/ui/desktop/app/styles/app.scss +++ b/ui/desktop/app/styles/app.scss @@ -478,20 +478,22 @@ $chevron-down: url("data:image/svg+xml;utf-8, - {{t 'resources.target.secret.toggle'}} + {{t 'actions.toggle-secret'}}