"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Wrapper = void 0;
const styled_1 = require("../../styled");
const constants_1 = require("../constants");
const constants_2 = require("./constants");
exports.Wrapper = styled_1.styled.ul `
  --min-display-rows: 0;

  scrollbar-gutter: stable;

  overflow-y: auto;

  width: fit-content;
  min-width: 100%;
  height: 100%;
  min-height: calc(var(--min-display-rows) * ${constants_1.MIN_ROW_HEIGHT}px);
  margin: 0;
  padding: 0;

  list-style-type: none;

  &.${constants_2.bodyClassnames.disableMinHeight} {
    min-height: unset;
  }

  &.${constants_1.dataGridClassnames.bodyEmpty} {
    display: flex;
    align-items: center;
  }

  ${({ theme }) => theme.breakpoints.down('sm')} {
    scrollbar-gutter: unset;

    overflow: initial;

    width: 100%;
  }
`;
