diff --git a/src/scripts/components/Timer.tsx b/src/scripts/components/Timer.tsx index 928d64dc8..e6d7238d2 100644 --- a/src/scripts/components/Timer.tsx +++ b/src/scripts/components/Timer.tsx @@ -56,7 +56,7 @@ function RunningTimer(props: { entry: TimeEntry, project: Project | null }) { return ( -
+
{entry.description || NO_DESCRIPTION} @@ -64,7 +64,7 @@ function RunningTimer(props: { entry: TimeEntry, project: Project | null }) { }
-
+
{tags && } @@ -127,6 +127,18 @@ const TimerContainer = styled.div` font-size: 14px; box-shadow: rgb(232, 232, 232) 0px -1px 0px 0px inset; background: #fff; + + > div:first-child { + flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + } + + > div:last-child { + display: flex; + align-items: center; + } `; const TimerInput = styled.input`