aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/timeline-common.sass
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-05 17:17:52 +0800
committercrupest <crupest@outlook.com>2020-11-05 17:17:52 +0800
commit4922a9877ca4a5029acc6f66b0ef87c84e6f898d (patch)
tree893ffd95fb865358bb50bb12185f575d60400e29 /FrontEnd/src/app/views/timeline-common/timeline-common.sass
parent98471098fa1e440feb5863d756b383c82ebb885e (diff)
downloadtimeline-4922a9877ca4a5029acc6f66b0ef87c84e6f898d.tar.gz
timeline-4922a9877ca4a5029acc6f66b0ef87c84e6f898d.tar.bz2
timeline-4922a9877ca4a5029acc6f66b0ef87c84e6f898d.zip
feat: Fix #168 .
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/timeline-common.sass')
-rw-r--r--FrontEnd/src/app/views/timeline-common/timeline-common.sass16
1 files changed, 12 insertions, 4 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/timeline-common.sass b/FrontEnd/src/app/views/timeline-common/timeline-common.sass
index 43b043ac..f5e28c79 100644
--- a/FrontEnd/src/app/views/timeline-common/timeline-common.sass
+++ b/FrontEnd/src/app/views/timeline-common/timeline-common.sass
@@ -4,10 +4,6 @@
z-index: 0
position: relative
- background-image: url("views/timeline-common/timeline-background.svg")
- background-size: 100% auto
- background-repeat: no-repeat repeat
-
&-item
position: relative
padding: 0.5em
@@ -166,3 +162,15 @@ $timeline-line-color-current: #36c2e6
top: 56px
right: 0
margin: 0.5em
+
+.timeline-background
+ position: fixed
+ z-index: -1
+
+ left: 0
+ right: 0
+ top: 0
+ bottom: 0
+ background-image: url("views/timeline-common/timeline-background.svg")
+ background-size: 100% auto
+ background-repeat: no-repeat repeat