Skip to content

Commit

Permalink
fiddle with margin
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Aug 14, 2024
1 parent 2727b01 commit 39da9bb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions static/app/components/timeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,9 @@ const Row = styled('div')<{showLastLine?: boolean}>`
display: grid;
grid-template-columns: subgrid;
grid-column: 1/-1;
grid-column-gap: ${space(1)};
grid-row-gap: ${space(0.5)};
margin: ${space(1)} 0;
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
/* Show/hide connecting line from the last element of the timeline */
background: ${p => (p.showLastLine ? 'transparent' : p.theme.background)};
}
Expand Down Expand Up @@ -140,6 +135,8 @@ export const Container = styled('div')`
position: relative;
display: grid;
grid-template: auto auto / 22px 1fr auto;
grid-row-gap: ${space(1)};
grid-column-gap: ${space(1)};
/* vertical line connecting items */
&::before {
content: '';
Expand Down

0 comments on commit 39da9bb

Please sign in to comment.