mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 12:51:13 +00:00
Tweak success page
This commit is contained in:
parent
6f6acbb0a5
commit
f580e2d8b7
4 changed files with 6 additions and 5 deletions
|
@ -249,6 +249,7 @@ hr {
|
|||
|
||||
.fl-1 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.img-blur {
|
||||
|
|
|
@ -72,7 +72,7 @@ export class App extends Component<AppProps, any> {
|
|||
|
||||
return (
|
||||
<ErrorGuard>
|
||||
<div tabIndex={-1} className="h-100">
|
||||
<div tabIndex={-1} className="fl-1">
|
||||
{RouteComponent &&
|
||||
(isAuthPath(path ?? "") ? (
|
||||
<AuthGuard {...routeProps}>
|
||||
|
|
|
@ -75,12 +75,12 @@ export class RemoteFetch extends Component<any, RemoteFetchState> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div className="remote-fetch container-lg">
|
||||
<div className="remote-fetch container-lg d-flex">
|
||||
<HtmlTags
|
||||
title={this.documentTitle}
|
||||
path={this.context.router.route.match.url}
|
||||
/>
|
||||
<div className="row">
|
||||
<div className="row flex-grow-1 align-items-center">
|
||||
<div className="col-12 col-lg-6 offset-lg-3 text-center">
|
||||
{this.content}
|
||||
</div>
|
||||
|
@ -97,7 +97,7 @@ export class RemoteFetch extends Component<any, RemoteFetchState> {
|
|||
return (
|
||||
<>
|
||||
<h1>Community Federated!</h1>
|
||||
<Link href="/" className="btn btn-lg bt-link btn-primary mt-auto">
|
||||
<Link href="/" className="btn btn-lg bt-link btn-primary mt-5">
|
||||
Click to visit com
|
||||
</Link>
|
||||
</>
|
|
@ -21,7 +21,7 @@ import { VerifyEmail } from "./components/person/verify-email";
|
|||
import { CreatePost } from "./components/post/create-post";
|
||||
import { Post } from "./components/post/post";
|
||||
import { CreatePrivateMessage } from "./components/private_message/create-private-message";
|
||||
import { RemoteFetch } from "./components/remote_fetch";
|
||||
import { RemoteFetch } from "./components/remote-fetch";
|
||||
import { Search } from "./components/search";
|
||||
import { InitialFetchRequest, RouteData } from "./interfaces";
|
||||
|
||||
|
|
Loading…
Reference in a new issue