Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform
This commit is contained in:
commit
f86b9ede07
5 changed files with 10 additions and 3 deletions
|
@ -75,6 +75,11 @@
|
|||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.md-div pre {
|
||||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.md-div table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
|
|
|
@ -195,7 +195,7 @@ export class Login extends Component<any, State> {
|
|||
}
|
||||
|
||||
handleLoginUsernameChange(i: Login, event: any) {
|
||||
i.state.form.username_or_email = event.target.value;
|
||||
i.state.form.username_or_email = event.target.value.trim();
|
||||
i.setState(i.state);
|
||||
}
|
||||
|
||||
|
|
|
@ -221,7 +221,7 @@ export class Setup extends Component<any, State> {
|
|||
}
|
||||
|
||||
handleRegisterUsernameChange(i: Setup, event: any) {
|
||||
i.state.form.username = event.target.value;
|
||||
i.state.form.username = event.target.value.trim();
|
||||
i.setState(i.state);
|
||||
}
|
||||
|
||||
|
|
|
@ -496,7 +496,7 @@ export class Signup extends Component<any, State> {
|
|||
}
|
||||
|
||||
handleRegisterUsernameChange(i: Signup, event: any) {
|
||||
i.state.form.username = event.target.value;
|
||||
i.state.form.username = event.target.value.trim();
|
||||
i.setState(i.state);
|
||||
}
|
||||
|
||||
|
|
|
@ -835,6 +835,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
search: "",
|
||||
}}
|
||||
title={i18n.t("cross_post")}
|
||||
data-tippy-content={i18n.t("cross_post")}
|
||||
aria-label={i18n.t("cross_post")}
|
||||
>
|
||||
<Icon icon="copy" inline />
|
||||
</Link>
|
||||
|
|
Loading…
Reference in a new issue