Merge branch 'main' into AA/missing-tooltip-from-post-listing

This commit is contained in:
SleeplessOne1917 2023-06-14 23:28:43 +00:00 committed by GitHub
commit 506839610e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View file

@ -75,6 +75,11 @@
font-size: 1.2rem; font-size: 1.2rem;
} }
.md-div pre {
white-space: pre;
overflow-x: auto;
}
.md-div table { .md-div table {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;

View file

@ -195,7 +195,7 @@ export class Login extends Component<any, State> {
} }
handleLoginUsernameChange(i: Login, event: any) { 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); i.setState(i.state);
} }

View file

@ -221,7 +221,7 @@ export class Setup extends Component<any, State> {
} }
handleRegisterUsernameChange(i: Setup, event: any) { handleRegisterUsernameChange(i: Setup, event: any) {
i.state.form.username = event.target.value; i.state.form.username = event.target.value.trim();
i.setState(i.state); i.setState(i.state);
} }

View file

@ -496,7 +496,7 @@ export class Signup extends Component<any, State> {
} }
handleRegisterUsernameChange(i: Signup, event: any) { handleRegisterUsernameChange(i: Signup, event: any) {
i.state.form.username = event.target.value; i.state.form.username = event.target.value.trim();
i.setState(i.state); i.setState(i.state);
} }