messageRow.tsx 663 B

12345678910111213141516171819202122
  1. import styled from '@emotion/styled';
  2. import {ROW_HEIGHT} from 'sentry/components/performance/waterfall/constants';
  3. import {Row} from 'sentry/components/performance/waterfall/row';
  4. import space from 'sentry/styles/space';
  5. export const MessageRow = styled(Row)`
  6. display: block;
  7. line-height: ${ROW_HEIGHT}px;
  8. padding-left: ${space(1)};
  9. padding-right: ${space(1)};
  10. color: ${p => p.theme.gray300};
  11. background-color: ${p => p.theme.backgroundSecondary};
  12. outline: 1px solid ${p => p.theme.border};
  13. font-size: ${p => p.theme.fontSizeSmall};
  14. z-index: ${p => p.theme.zIndex.traceView.rowInfoMessage};
  15. > * + * {
  16. margin-left: ${space(2)};
  17. }
  18. `;