Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix design
dominik-zeglenca14699da5ce
diff --git a/saleor/static/dashboard/scss/components/_timeline.scss b/saleor/static/dashboard/scss/components/_timeline.scssindex 955884f066..c1a88e396b 100644--- a/saleor/static/dashboard/scss/components/_timeline.scss+++ b/saleor/static/dashboard/scss/components/_timeline.scss@@ -1,6 +1,6 @@$timeline-width: 3px !default;$timeline-circle-radius: 6px !default;-$timeline-event-margin: 30px !default;+$timeline-event-margin: 1rem !default;$timeline-date-width: 20rem;$timeline-status-width: 12rem;@@ -44,6 +44,7 @@ $timeline-status-width: 12rem;.content {margin-left: 3rem;padding-left: $timeline-status-width;+ min-height: 1.5rem;position: relative;top: calc(#{$timeline-circle-radius} + #{$timeline-width} + .5px - #{$label-font-size} + .1rem);}@@ -52,6 +53,9 @@ $timeline-status-width: 12rem;left: 0;top: 0;}+ &:last-of-type {+ height: 0;+ }}}}@@ -62,7 +66,6 @@ $timeline-status-width: 12rem;margin: 0 1rem;.timeline {.event {- margin-bottom: $timeline-event-margin / 2;&:before {left: 3rem;top: calc(#{$timeline-circle-radius} + #{$timeline-width} + .5px - #{$label-font-size} + .7rem);@@ -83,6 +86,7 @@ $timeline-status-width: 12rem;.timeline-outer {.timeline {.event {+ margin-bottom: $timeline-event-margin / 2;.content {padding-left: 0;top: calc(#{$timeline-circle-radius} + #{$timeline-width} + .5px - #{$label-font-size} - .5rem);diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.htmlindex ed2d33166d..93c68f108e 100644--- a/templates/dashboard/order/detail.html+++ b/templates/dashboard/order/detail.html@@ -533,7 +533,7 @@{% for event in order.history.all %}<li class="event" data-date="{{ event.date }}"><div class="content">- {{ event.comment|default:" " }}{% if event.user %} by {{ event.user }}{% endif %}+ {{ event.comment|default:"" }}{% if event.user %} by {{ event.user }}{% endif %}<div class="status">{% render_status event.status event.get_status_display %}</div>