관리-도구
편집 파일: editor.scss
// Import the kkart components stylesheet @import "~@kkart/components/build-style/style.css"; // Hack to hide preview overflow. .editor-block-preview__content { overflow: hidden; } // Align the block icons in edit mode .components-placeholder__label .gridicon, .components-placeholder__label .material-icon { margin-right: 1ch; fill: currentColor; } // Remove the list styling, which is added back by core GB styles. .editor-styles-wrapper { .kkart-block-grid { .kkart-block-grid__products { list-style: none; margin: 0 (-$gap/2) $gap; padding: 0; .kkart-block-grid__product { margin: 0 0 $gap-large 0; } } &.components-placeholder { padding: 2em 1em; } &.is-loading, &.is-not-found { display: block; } } } // Style inline notices in the inspector. .components-base-control { + .kkart-block-base-control-notice { margin: -$gap 0 $gap; } & + .kkart-block-base-control-notice:last-child { margin: -$gap 0 $gap-small; } } // Adds border to placeholder lists, so they can be distinguished from the white background. .components-placeholder .kkart-search-list__list { border: 1px solid $gray-200; } // Work-around to make the SearchList component work fine with the last versions of @wordpress/components. // Ideally it should be possible to remove this once this issue is fixed in KKART Admin: // https://github.com/kkart/kkart-admin/issues/4349 .components-placeholder .kkart-search-list__list .kkart-search-list__item { border-radius: 0; height: auto; text-align: left; }