Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix margin
dominik-zeglen7bb4e5f542b9
diff --git a/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx b/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsxindex d6e7b8989c..553290d91c 100644--- a/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx+++ b/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx@@ -28,7 +28,7 @@ const decorate = withStyles(theme => ({height: 16,left: -33,position: "absolute" as "absolute",- top: 19,+ top: 2,width: 16},noExpander: {@@ -50,16 +50,15 @@ const decorate = withStyles(theme => ({"&:last-child:after": {background: theme.palette.background.default,content: "''",- height: `calc(50% - ${theme.spacing.unit}px)`,+ height: "calc(50% - 4px)",left: `${-theme.spacing.unit * 3 - 2}px`,position: "absolute" as "absolute",- top: `calc(50% + ${theme.spacing.unit}px)`,+ top: "calc(50% + 4px)",width: "2px"},alignItems: "center",display: "flex",marginBottom: theme.spacing.unit * 3,- minHeight: theme.spacing.unit * 8,position: "relative" as "relative",width: "100%"}diff --git a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsxindex 63aff0a69f..7b8310912a 100644--- a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx@@ -1,5 +1,4 @@import { withStyles } from "@material-ui/core/styles";-import Typography from "@material-ui/core/Typography";import * as React from "react";import Form from "../../../components/Form";@@ -137,15 +136,7 @@ const OrderHistory = decorate<OrderHistoryProps>(date={event.date}title={getEventMessage(event)}key={event.id}- >- {event.user && (- <Typography variant="caption">- {i18n.t("by {{ user }}", {- user: event.user.email- })}- </Typography>- )}- </TimelineEvent>+ />);})}</Timeline>