Skip to content

Commit

Permalink
Revert "fix(breadcrumbs): Use subgrid to align log levels (#76148)"
Browse files Browse the repository at this point in the history
This reverts commit 9a99b0f.

Co-authored-by: scttcper <[email protected]>
  • Loading branch information
getsentry-bot and scttcper committed Aug 14, 2024
1 parent 9169a7d commit d08c805
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ const Subtitle = styled('p')`

const Timestamp = styled('div')`
margin-right: ${space(1)};
text-align: right;
color: ${p => p.theme.subText};
font-size: ${p => p.theme.fontSizeSmall};
span {
Expand Down
17 changes: 8 additions & 9 deletions static/app/components/timeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,16 @@ export const Item = forwardRef(function _Item(
const Row = styled('div')<{showLastLine?: boolean}>`
position: relative;
color: ${p => p.theme.subText};
align-items: start;
display: grid;
grid-template-columns: subgrid;
grid-column: 1/-1;
grid-row-gap: ${space(0.5)};
align-items: start;
grid-template: auto auto / 22px 1fr auto;
grid-column-gap: ${space(1)};
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 @@ -133,10 +136,6 @@ export const Data = styled('div')`

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 d08c805

Please sign in to comment.