Skip to content

Commit 3b45954

Browse files
authored
[DDW-528] Spacing issues with "i" icon on "Set password" dialog (#2337)
* [DDW-528] Fix spacing issues with the info icon on the 'Set password' dialog * [DDW-528] Adds CHANGELOG entry
1 parent fa71d3b commit 3b45954

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Changelog
99

1010
### Fixes
1111

12+
- Fixed misalignment of the "i" icon on the "Set password" dialog ([PR 2337](https://github.com/input-output-hk/daedalus/pull/2337))
1213
- Removed steps counter from the "Success" wallet restoration dialog step ([PR 2335](https://github.com/input-output-hk/daedalus/pull/2335))
1314

1415
### Chores

source/renderer/app/components/wallet/settings/ChangeSpendingPasswordDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export default class ChangeSpendingPasswordDialog extends Component<Props> {
299299
)}
300300

301301
<div className={newPasswordClasses}>
302-
<div className={styles.spendingPasswordField}>
302+
<div className={spendingPasswordClasses}>
303303
<PasswordInput
304304
{...newPasswordField.bind()}
305305
onKeyPress={this.handleSubmitOnEnter}

source/renderer/app/components/wallet/settings/ChangeSpendingPasswordDialog.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
> span {
2828
height: 12px;
29-
left: 145px;
29+
left: 158px;
3030
outline: none;
3131
position: absolute;
3232
top: 4px;
@@ -35,6 +35,16 @@
3535

3636
&.jpLangTooltipIcon {
3737
> span {
38+
left: 134px !important;
39+
}
40+
}
41+
42+
.currentPassword + span {
43+
left: 145px !important;
44+
}
45+
46+
&.jpLangTooltipIcon {
47+
.currentPassword + span {
3848
left: 135px !important;
3949
}
4050
}

0 commit comments

Comments
 (0)