Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Reformat code

dominik-zeglen295ce69072d1
diff --git a/saleor/static/dashboard/scss/components/_timeline.scss b/saleor/static/dashboard/scss/components/_timeline.scss
index c1a88e396b..99f09f7225 100644
--- a/saleor/static/dashboard/scss/components/_timeline.scss
+++ b/saleor/static/dashboard/scss/components/_timeline.scss
@@ -1,9 +1,3 @@
-$timeline-width: 3px !default;
-$timeline-circle-radius: 6px !default;
-$timeline-event-margin: 1rem !default;
-$timeline-date-width: 20rem;
-$timeline-status-width: 12rem;
-
.timeline-outer {
padding-left: $timeline-date-width;
.timeline {
@@ -11,7 +5,7 @@ $timeline-status-width: 12rem;
position: relative;
list-style: none;
.event {
- padding-bottom: 15px;
+ padding-bottom: 1rem;
margin-bottom: $timeline-event-margin;
position: relative;
&:before, &:after {
diff --git a/saleor/static/dashboard/scss/variables.scss b/saleor/static/dashboard/scss/variables.scss
index 4e220993e1..acc1ae995a 100644
--- a/saleor/static/dashboard/scss/variables.scss
+++ b/saleor/static/dashboard/scss/variables.scss
@@ -46,4 +46,10 @@ $h4-fontsize: 1.3rem !default;
$h5-fontsize: 1.2rem !default;
$h6-fontsize: 1rem !default;
+/*** Timeline Configuration ***/
+$timeline-width: 3px !default;
+$timeline-circle-radius: 6px !default;
+$timeline-event-margin: 1rem !default;
+$timeline-date-width: 20rem;
+$timeline-status-width: 12rem;