From 3bf4e820100cff45868e12d4de691092f02d3b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Bialoglowicz Date: Tue, 22 Oct 2019 13:49:35 +0200 Subject: [PATCH] Fix timeline note design --- src/components/Timeline/TimelineNote.tsx | 29 ++++++++++++------------ 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/components/Timeline/TimelineNote.tsx b/src/components/Timeline/TimelineNote.tsx index 185064156..56568a199 100644 --- a/src/components/Timeline/TimelineNote.tsx +++ b/src/components/Timeline/TimelineNote.tsx @@ -14,7 +14,6 @@ import CRC from "crc-32"; import React from "react"; import { DateTime } from "../Date"; -import Hr from "../Hr"; const palette = [ colors.amber, @@ -49,20 +48,22 @@ const styles = (theme: Theme) => }, cardContent: { "&:last-child": { - paddingBottom: 16 - } - }, - content: { - marginTop: theme.spacing.unit * 2 + padding: 16 + }, + boxShadow: "0px 5px 10px rgba(0, 0, 0, 0.05)" }, root: { position: "relative" }, title: { + "& p": { + fontSize: "14px" + }, alignItems: "center", display: "flex", justifyContent: "space-between", - marginBottom: theme.spacing.unit + marginBottom: theme.spacing.unit, + paddingLeft: theme.spacing.unit * 3 } }); @@ -83,17 +84,15 @@ export const TimelineNote = withStyles(styles, { name: "TimelineNote" })( > +
+ {user.email} + + + +
-
- {user.email} - - - -
-
") }}