Skip to content

Commit

Permalink
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 authored Jun 15, 2023
2 parents aa48adc + d3e01ac commit f86b9ed
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 2 additions & 0 deletions src/shared/components/post/post-listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f86b9ed

Please sign in to comment.