diff options
| author | crupest <crupest@outlook.com> | 2020-11-11 21:09:59 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2020-11-11 21:09:59 +0800 |
| commit | 50582266f3ece2f1499dc7bb87b67339d8688c6a (patch) | |
| tree | a5312eab59537e89b7e5afd251363d8a75556739 /FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | |
| parent | 98132cee7e4c427cab4cec2af45e1b8102c59c3b (diff) | |
| download | timeline-50582266f3ece2f1499dc7bb87b67339d8688c6a.tar.gz timeline-50582266f3ece2f1499dc7bb87b67339d8688c6a.tar.bz2 timeline-50582266f3ece2f1499dc7bb87b67339d8688c6a.zip | |
feat: Set timeline max width.
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx')
| -rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx index 01561704..3ee7ed67 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx @@ -146,7 +146,10 @@ export default function TimelinePageTemplateUI<TManageItems>( const posts = data?.posts; body = ( - <div className="timeline-background"> + <div + className="timeline-container" + style={{ minHeight: `calc(100vh - ${56 + bottomSpaceHeight}px)` }} + > {data != null ? ( <CardComponent className="timeline-template-card" |
