@import 'part:@sanity/base/theme/variables-style';

.root {
  position: relative;
}

.menu {
  padding: var(--extra-small-padding) 0;
}

.menuItem {
  display: block;
  width: 100%;

  @nest & > span > span {
    justify-content: flex-start;
  }
}

@import 'part:@sanity/base/theme/variables-style';

.root {
  position: relative;
}

.menu {
  padding: var(--extra-small-padding) 0;
  max-height: calc(50vh - 6em);
  overflow: auto;
}

.menuItem {
  display: block;
  width: 100%;

  @nest & > span > span {
    justify-content: flex-start;
  }
}

Fix overflow in PT insert menu
[form-builder] Fix overflow in PT insert menu
