Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform

This commit is contained in:
SleeplessOne1917 2023-06-15 00:05:27 +00:00 committed by GitHub
commit f86b9ede07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 3 deletions

View file

@ -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%;

View file

@ -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);
}

View file

@ -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);
}

View file

@ -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);
}

View file

@ -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>