sliderAndInputWrapper.tsx 348 B

12345678910111213
  1. import styled from '@emotion/styled';
  2. import space from 'sentry/styles/space';
  3. const SliderAndInputWrapper = styled('div')<{showCustomInput?: boolean}>`
  4. display: grid;
  5. align-items: center;
  6. grid-auto-flow: column;
  7. grid-template-columns: 4fr ${p => p.showCustomInput && '1fr'};
  8. gap: ${space(1)};
  9. `;
  10. export default SliderAndInputWrapper;