// Custom variables.
@import "../../sass/base";

.bb\:has-overlay {
  .bb\:block-overlay {
    // ~ *:not(.block-list-appender) {
    //   position: relative;
    //   z-index: 1;
    // }

    + .block-list-appender {
      z-index: 0;
    }
  }

  // Reset bock gap for the first block if there is a background
  .editor-styles-wrapper & > .bb\:block-overlay + * {
  // > .bb\:block-overlay + * {
    margin-top: 0;
  }

  .editor-styles-wrapper & {
    min-height: 48px;;
  }
}
