// Layout builder sidebar save button.
.glb-canvas-form__actions {
  position: sticky;
  z-index: 1;
  bottom: 0;
}

// Hide layout builder preview in form.
.glb-sidebar .glb-form-item-toggle-content-preview {
  display: none;
}

// Better alignment for sidebar.
.gin--vertical-toolbar {
  #drupal-off-canvas-wrapper {
    top: 60px !important;
    padding-bottom: 60px;
  }
}

.gin--horizontal-toolbar {
  #drupal-off-canvas-wrapper {
    top: 53px !important;
  }
}

// Better alignment for block selection on "Block add".
.block-categories {
  position: relative;

  .layout-builder-browser-block-item {
    text-align: center;

    img {
      display: block;
      margin: auto auto 0.5em;
    }
  }
  .ajax-progress-throbber {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
