From 50582266f3ece2f1499dc7bb87b67339d8688c6a Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 11 Nov 2020 21:09:59 +0800 Subject: feat: Set timeline max width. --- .../src/app/views/timeline-common/timeline-common.sass | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'FrontEnd/src/app/views/timeline-common/timeline-common.sass') diff --git a/FrontEnd/src/app/views/timeline-common/timeline-common.sass b/FrontEnd/src/app/views/timeline-common/timeline-common.sass index 0a03c841..08ae1f09 100644 --- a/FrontEnd/src/app/views/timeline-common/timeline-common.sass +++ b/FrontEnd/src/app/views/timeline-common/timeline-common.sass @@ -163,12 +163,11 @@ $timeline-line-color-current: #36c2e6 right: 0 margin: 0.5em -.timeline-background - position: fixed - z-index: -1 - - left: 0 - right: 0 - top: 0 - bottom: 0 - background: #fff1cc +.timeline-container + background: #fff9e9 + display: flex + justify-content: center + + .timeline + max-width: 100em + flex-grow: 1 \ No newline at end of file -- cgit v1.2.3