diff --git a/css/builder.css b/css/builder.css index 8153ed31b2134c11fe26ed313384a79dcdee72ab..e1c3b62d9dbeae1c4d9b50b0baab9fd5e55c0126 100644 --- a/css/builder.css +++ b/css/builder.css @@ -53,9 +53,7 @@ outline: 1px dotted rgba(0, 0, 255, 0.5); } .lp-builder:not(.is-navigating) .js-lpb-component:hover .js-lpb-region:hover, -.lp-builder:not(.is-navigating) - .js-lpb-component:focus-within - .js-lpb-region:focus-within { +.lp-builder:not(.is-navigating) .js-lpb-component:focus-within .js-lpb-region:focus-within { outline: 1px solid rgba(0, 0, 255, 0.5); } .lpb-layout { @@ -85,9 +83,7 @@ opacity: 0; border-radius: 0 0 6px 0; background-color: #fff; - box-shadow: - 0 1px 1px rgba(0, 0, 0, 0.25), - 0 1px 3px rgba(0, 0, 0, 0.25); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); } .lpb-controls:hover, .lpb-controls:focus-within { @@ -264,9 +260,7 @@ background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='.5' fill-rule='evenodd' clip-rule='evenodd' d='M13 6V11H18V13H13V18H11V12.999L6 13V11L11 10.999V6H13Z' fill='%23130F13'/%3E%3C/svg%3E%0A"); background-size: cover; - box-shadow: - 0 1px 1px rgba(0, 0, 0, 0.25), - 0 1px 3px rgba(0, 0, 0, 0.25); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); } .lpb-btn--add:hover { opacity: 1; diff --git a/templates/layout-paragraphs-builder-formatter.html.twig b/templates/layout-paragraphs-builder-formatter.html.twig index 8eea35d9d2232269f94dbb5b3ce3022f4c93d325..0c58022a6ff2cb1a2326cd3a3254a345f8193727 100644 --- a/templates/layout-paragraphs-builder-formatter.html.twig +++ b/templates/layout-paragraphs-builder-formatter.html.twig @@ -14,4 +14,4 @@ </div> </div> {{ root_components }} -{% endif %} \ No newline at end of file +{% endif %} diff --git a/templates/layout-paragraphs-builder-section-menu.html.twig b/templates/layout-paragraphs-builder-section-menu.html.twig index 507c1bd5d53342fbba17b93ee8d98362c2506293..ac9425ea77138c6618de667920543547e1d2de9e 100644 --- a/templates/layout-paragraphs-builder-section-menu.html.twig +++ b/templates/layout-paragraphs-builder-section-menu.html.twig @@ -12,4 +12,4 @@ </div> {% endfor %} </div> -</div> \ No newline at end of file +</div> diff --git a/templates/layout-paragraphs-builder.html.twig b/templates/layout-paragraphs-builder.html.twig index e0f4b1e2ba4e8afba1d46f0fa218e233a06eeb16..dcd442448f8eddf95e816cd0d85af62b50b671f0 100644 --- a/templates/layout-paragraphs-builder.html.twig +++ b/templates/layout-paragraphs-builder.html.twig @@ -16,4 +16,4 @@ {{ root_components }} </div> {% endif %} -</div> \ No newline at end of file +</div> diff --git a/tests/modules/layout_paragraphs_translations_test/templates/paragraph--section.html.twig b/tests/modules/layout_paragraphs_translations_test/templates/paragraph--section.html.twig index feaf4dc56585941a085d12621538e3790110101a..33dc0a5b13b9bcba9164b1bf7d3f74d14fdb48d5 100644 --- a/tests/modules/layout_paragraphs_translations_test/templates/paragraph--section.html.twig +++ b/tests/modules/layout_paragraphs_translations_test/templates/paragraph--section.html.twig @@ -54,4 +54,3 @@ {% endblock %} </div> {% endblock paragraph %} - diff --git a/tests/modules/layout_paragraphs_translations_test/templates/paragraph--text.html.twig b/tests/modules/layout_paragraphs_translations_test/templates/paragraph--text.html.twig index 3d0f1d902cdf4fb6597b267ddeedbee12c3a6f50..f918a6600bcc6ea15f2772f2798fb22c729d4410 100644 --- a/tests/modules/layout_paragraphs_translations_test/templates/paragraph--text.html.twig +++ b/tests/modules/layout_paragraphs_translations_test/templates/paragraph--text.html.twig @@ -54,4 +54,3 @@ {% endblock %} </div> {% endblock paragraph %} - diff --git a/tests/src/FunctionalJavascript/BlockFieldTest.php b/tests/src/FunctionalJavascript/BlockFieldTest.php index 3e37d3a9a63a44795f20fc4874d19c0fe34012fd..a797a53adba9f672f14efa4800fefb63b59e259e 100644 --- a/tests/src/FunctionalJavascript/BlockFieldTest.php +++ b/tests/src/FunctionalJavascript/BlockFieldTest.php @@ -47,7 +47,6 @@ class BlockFieldTest extends BuilderTestBase { 'search content', ]); $this->drupalGet('node/add/page'); - $page = $this->getSession()->getPage(); $this->addSectionComponent(2, '.lpb-btn--add'); $this->addBlockFieldComponent('search_form_block', '.layout__region--first .lpb-btn--add'); $this->addTextComponent('Some arbitrary text', '.layout__region--first .lpb-btn--add.after'); diff --git a/tests/src/FunctionalJavascript/FormRenderingTest.php b/tests/src/FunctionalJavascript/FormRenderingTest.php index 00823e161210d961b2b3986fc0e52bdd6f1fc2a9..d9169639bd14af17f551d203ee2ccf030bfd8eb0 100644 --- a/tests/src/FunctionalJavascript/FormRenderingTest.php +++ b/tests/src/FunctionalJavascript/FormRenderingTest.php @@ -36,7 +36,6 @@ class FormRenderingTest extends BuilderTestBase { ]); $this->drupalGet('node/add/page'); - $page = $this->getSession()->getPage(); $this->addSectionComponent(0, '.lpb-btn--add'); // Make sure the "Test field" form element appears. diff --git a/tests/src/FunctionalJavascript/NestedSectionsTest.php b/tests/src/FunctionalJavascript/NestedSectionsTest.php index 388e7d4114243a82369579fe519e6229b156b859..f1e1c6f700f159202b65f7d57f45158a10c46275 100644 --- a/tests/src/FunctionalJavascript/NestedSectionsTest.php +++ b/tests/src/FunctionalJavascript/NestedSectionsTest.php @@ -38,7 +38,6 @@ class NestedSectionsTest extends BuilderTestBase { ]); $this->drupalGet('node/add/page'); - $page = $this->getSession()->getPage(); // Add a two-column section. $this->addSectionComponent(1, '.lpb-btn--add');