diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index 402b3c3ca..ca4c796aa 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -17,14 +17,9 @@ concurrency: jobs: playwright: - name: Playwright - ${{ matrix.part }} + name: Playwright runs-on: ubuntu-latest if: ${{ github.repository == 'nk-crew/lazy-blocks' || github.event_name == 'pull_request' }} - strategy: - fail-fast: false - matrix: - part: [1, 2, 3, 4] - totalParts: [4] steps: - uses: actions/checkout@v4 @@ -45,4 +40,4 @@ jobs: - name: Run the tests run: | - xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:e2e -- --shard=${{ matrix.part }}/${{ matrix.totalParts }} + xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:e2e diff --git a/assets/admin/templates/index.js b/assets/admin/templates/index.js index 8d2f084b5..b08b15d1f 100644 --- a/assets/admin/templates/index.js +++ b/assets/admin/templates/index.js @@ -14,7 +14,7 @@ import { useSelect } from '@wordpress/data'; import { useEntityProp } from '@wordpress/core-data'; import { PanelRow, SelectControl } from '@wordpress/components'; import { useDebounce } from '@wordpress/compose'; -import { PluginDocumentSettingPanel } from '@wordpress/edit-post'; +import { PluginDocumentSettingPanel } from '@wordpress/editor'; /** * Internal dependencies @@ -182,6 +182,8 @@ function UpdateEditor() { onChange={(value) => { updateMeta('_lzb_template_post_types', value); }} + __next40pxDefaultSize + __nextHasNoMarginBottom /> @@ -194,6 +196,8 @@ function UpdateEditor() { onChange={(value) => { updateMeta('_lzb_template_lock', value); }} + __next40pxDefaultSize + __nextHasNoMarginBottom /> diff --git a/assets/admin/tools/index.scss b/assets/admin/tools/index.scss index 83cd00211..12cbb0f66 100644 --- a/assets/admin/tools/index.scss +++ b/assets/admin/tools/index.scss @@ -19,6 +19,19 @@ background-color: #f1f1f1; border: 1px solid #ccd0d4; border-radius: 4px; + + .components-toggle-control__label { + padding-top: 3px; + margin-left: 0 !important; + + > span { + margin-top: -3px; + } + } + + .components-toggle-control > .components-base-control__field > .components-flex { + align-items: start; + } } .lzb-export-textarea { diff --git a/assets/admin/tools/tools.js b/assets/admin/tools/tools.js index 374d2bc02..e11c518d9 100644 --- a/assets/admin/tools/tools.js +++ b/assets/admin/tools/tools.js @@ -112,7 +112,7 @@ export default function Templates() { return ( <>