rowDetails.tsx 831 B

123456789101112131415161718192021222324252627282930313233343536
  1. import styled from '@emotion/styled';
  2. import space from 'sentry/styles/space';
  3. import {Theme} from 'sentry/utils/theme';
  4. export const ErrorMessageTitle = styled('div')`
  5. display: flex;
  6. justify-content: space-between;
  7. `;
  8. export const ErrorMessageContent = styled('div')`
  9. display: grid;
  10. align-items: center;
  11. grid-template-columns: 16px 72px auto;
  12. gap: ${space(0.75)};
  13. margin-top: ${space(0.75)};
  14. `;
  15. export const ErrorDot = styled('div')<{level: keyof Theme['level']}>`
  16. background-color: ${p => p.theme.level[p.level]};
  17. content: '';
  18. width: ${space(1)};
  19. min-width: ${space(1)};
  20. height: ${space(1)};
  21. margin-right: ${space(1)};
  22. border-radius: 100%;
  23. flex: 1;
  24. `;
  25. export const ErrorLevel = styled('span')`
  26. width: 80px;
  27. `;
  28. export const ErrorTitle = styled('span')`
  29. ${p => p.theme.overflowEllipsis};
  30. `;