From cdc24dcc2063912acb404f2b19819c5efe96fdab Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Mon, 3 Aug 2026 15:15:45 +0200 Subject: [PATCH 1/3] Fix mobile menu editor crash, header logo, and Services layout (LS-2243) - Add missing layout attribute to core/details blocks in the mobile menu accordion, fixing a block-editor crash on Dev caused by the block supporting layout with no value set - Replace the header's hardcoded image logo with the Site Logo block so it no longer reverts to blank every time the header is reset - Restructure the Services accordion into paired two-column rows with stretch justification, dashed dividers, and spacing adjustments --- assets/css/animations.css | 12 --- parts/mobile-menu.html | 94 ++++++++++---------- patterns/header.php | 4 +- src/scss/animations/_mobile-menu-motion.scss | 12 --- 4 files changed, 47 insertions(+), 75 deletions(-) diff --git a/assets/css/animations.css b/assets/css/animations.css index 73ed961..008b0ff 100644 --- a/assets/css/animations.css +++ b/assets/css/animations.css @@ -1640,18 +1640,6 @@ text-align: center; } -/* - * Services accordion: phase groups are separated by dashed dividers rather than solid ones, - * keeping the lighter-weight hierarchy the desktop Services panel also uses between phase - * columns. core/separator has no "style: dashed" support declared in its block.json, so setting - * that via a block style attribute fails Gutenberg's save-output validation — the dashed look is - * applied here instead, against the plain default-attribute wp:separator markup. - */ -.mobile-menu-accordion-services hr.wp-block-separator { - margin-block: var(--wp--preset--spacing--10); - border-style: dashed; -} - .mobile-menu-brand { min-block-size: 44px; padding-block-end: var(--wp--preset--spacing--20); diff --git a/parts/mobile-menu.html b/parts/mobile-menu.html index 5a851e9..956bc57 100644 --- a/parts/mobile-menu.html +++ b/parts/mobile-menu.html @@ -1,9 +1,9 @@ - -
-
+ +
+
- +
Work

Travel publisher rebuild

@@ -35,7 +35,7 @@
- +
Solutions

WordPress

@@ -61,8 +61,8 @@

Tour Operators

- -

Design Systems

+ + @@ -71,9 +71,11 @@
- -
Services -
+ +
Services +
+
+
@@ -85,13 +87,11 @@

Discovery

- - - -
- +
+ - + +
@@ -107,13 +107,13 @@

Design

- - - -
- +
+
+ - + +
+
@@ -129,13 +129,11 @@

Migrations

- - - -
- +
+ - + +
@@ -159,13 +157,13 @@

Training

- - - -
- +
+
+ - + +
+
@@ -189,13 +187,11 @@

Email marketing

- - - -
- +
+ - + +
@@ -207,19 +203,21 @@

AI

- +
+
+ - - + +

See all services

- - + + - +
Pricing

Foundation

@@ -251,7 +249,7 @@
- +
Insights

Block themes & FSE

@@ -283,7 +281,7 @@
- +
About

Why LightSpeed

diff --git a/patterns/header.php b/patterns/header.php index e2fa509..a060fe5 100644 --- a/patterns/header.php +++ b/patterns/header.php @@ -11,9 +11,7 @@