Page MenuHomePhabricator

D10242.id37124.diff
No OneTemporary

D10242.id37124.diff

diff --git a/web/settings/password-change-modal.css b/web/settings/password-change-modal.css
--- a/web/settings/password-change-modal.css
+++ b/web/settings/password-change-modal.css
@@ -1,4 +1,4 @@
-.modal-form-error {
+.modalFormError {
font-size: var(--xs-font-12);
color: var(--text-background-danger-default);
font-style: italic;
@@ -12,25 +12,25 @@
height: 24px;
}
-.form-content {
+.formContent {
display: flex;
flex-direction: column;
}
-.form-content input:not(:last-child) {
+.formContent input:not(:last-child) {
margin-bottom: 16px;
}
-.form-content input[type='password'] {
+.formContent input[type='password'] {
width: auto;
}
-.username-container {
+.usernameContainer {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 16px;
}
-.username-label {
+.usernameLabel {
color: var(--text-background-tertiary-default);
}
.username {
diff --git a/web/settings/password-change-modal.js b/web/settings/password-change-modal.js
--- a/web/settings/password-change-modal.js
+++ b/web/settings/password-change-modal.js
@@ -64,7 +64,7 @@
let errorMsg = <div className={css.errorPlaceholder} />;
if (this.state.errorMessage) {
errorMsg = (
- <div className={css['modal-form-error']}>{this.state.errorMessage}</div>
+ <div className={css.modalFormError}>{this.state.errorMessage}</div>
);
}
@@ -93,12 +93,10 @@
primaryButton={changePasswordButton}
>
<form method="POST">
- <div className={css['form-content']}>
- <p className={css['username-container']}>
- <span className={css['username-label']}>{'Logged in as '}</span>
- <span className={css['username']}>
- {this.props.stringForUser}
- </span>
+ <div className={css.formContent}>
+ <p className={css.usernameContainer}>
+ <span className={css.usernameLabel}>{'Logged in as '}</span>
+ <span className={css.username}>{this.props.stringForUser}</span>
</p>
<Input
type="password"

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 8:42 PM (19 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2688749
Default Alt Text
D10242.id37124.diff (2 KB)

Event Timeline