# ghostkit/2.25.0/gutenberg/components/modal/editor.scss

Block Animations, Motion &amp; Scroll Effects – Ghost Kit, version 2.25.0. 80 lines.

- Page: https://pluginprobe.com/plugins/ghostkit/2.25.0/code/gutenberg/components/modal/editor.scss
- Raw: https://pluginprobe.com/plugins/ghostkit/2.25.0/raw/gutenberg/components/modal/editor.scss
- Modified: 2022-02-07T14:32:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ghostkit/2.25.0/code/gutenberg/components/modal/editor.scss#L10-L20`.

```scss
@import "../../variables";

.ghostkit-component-modal {
  @media (min-width: 600px) {
    min-width: 600px;
    max-width: 600px;

    // fix for Ace editor tooltips
    margin-left: -300px;
    transform: none;

    // position
    &.ghostkit-component-modal-position-top {
      top: 112px;
    }
  }

  // size
  @media (min-width: 840px) {
    &.ghostkit-component-modal-size-lg {
      min-width: 800px;
      max-width: 800px;

      // fix for Ace editor tooltips
      margin-left: -400px;
      transform: none;
    }
  }

  // Fix for new WP 5.9 styles
  body > .components-modal__screen-overlay & {
    @media (min-width: 600px) {
      margin-left: auto;

      // position
      &.ghostkit-component-modal-position-top {
        top: 0;
        margin-top: 112px;
      }
    }

    // size
    @media (min-width: 840px) {
      &.ghostkit-component-modal-size-lg {
        margin-left: auto;
      }
    }
  }

  // header
  .components-modal__header {
    .components-modal__icon-container svg {
      display: block;
      margin-right: 10px;
    }

    .components-modal__header-heading {
      font-weight: 600;
    }
  }

  // tab panel
  .ghostkit-component-modal-tab-panel {
    .components-tab-panel__tabs {
      margin-top: -16px;
      margin-right: -16px;
      margin-left: -16px;

      .ghostkit-control-tabs-tab {
        padding: 12px 16px;
        color: inherit;

        &:focus {
          outline: none;
        }
      }
    }
  }
}

```
