From feaa3296288e3e4b872f60de002d7f9e2a690bc6 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 15 Feb 2021 01:27:26 +0800 Subject: feat: Use container to set width of timeline page. --- FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FrontEnd/src') diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx index 3087c20e..62204ca8 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useTranslation } from "react-i18next"; -import { Spinner } from "react-bootstrap"; +import { Container, Spinner } from "react-bootstrap"; import { HttpNetworkError, HttpNotFoundError } from "@/http/common"; import { @@ -143,8 +143,8 @@ const TimelinePageTemplate: React.FC = (props) => { toggleCollapse={toggleCardCollapse} onReload={onReload} /> -
= (props) => { additionalPosts={newPosts} onLoad={scrollToBottom} /> -
+ {timeline.postable ? ( <>