
// Make the background dropdown behind the media modal popup: 160000
.cbb-settings-dropdown,
.cbb-background-dropdown {
  z-index: 150000;
}

// Dropdown of custom control in block toolbar.
.cbb-dropdown .components-popover__content {
  min-width: 300px;
  padding: 12px;

  h2 {
    font-size: 13px;
    color: #1e1e1e;
  }
}

// Toolbar button in isSynedBlock blocks
.cbb-dropdown-toolbar {
  ~ .components-dropdown {
    padding-inline: 0;
  }

  button,
  ~ * > button {
    min-width: 48px !important;

    &::before {
      left: 8px !important;
      right: 8px !important;
    }
  }
}

// Query Loop's toolbar in WP 7.0
.cbb-dropdown-toolbar ~ .components-dropdown-content-wrapper {
  padding-block: 0;
}
.block-editor-block-toolbar__slot:has( > .cbb-dropdown-toolbar) {
  max-height: 48px;
}
