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
commit94bed82d32265d573e3bc47582874360a0481b34 (patch)
treed4e87aee5660fd474548748d06f6b3bee7b75a40 /FrontEnd/src/app/views/timeline-common/timeline-common.sass
parente7f63aeecc6830ca88d177d0bbb01955b663b896 (diff)
downloadtimeline-94bed82d32265d573e3bc47582874360a0481b34.tar.gz
timeline-94bed82d32265d573e3bc47582874360a0481b34.tar.bz2
timeline-94bed82d32265d573e3bc47582874360a0481b34.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