- Issue created by @john pitcairn
- πΊπ¦Ukraine Panchuk Volyn, Lutsk
Hey @john-pitcairn, I'll take a look in a few days.
There shouldn't be any pitfalls, to doing this update.Which theme are you using with the LBL module?
- π³πΏNew Zealand john pitcairn
Making this change means any other theme that overrides the layout builder lock css rules for padding or pointer will probably need to update their rules to be more specific as well - though they could just override the library entirely to avoid that.
I'm using a custom front end theme. We modify the layout builder css a lot to make it match the page view. This is a simple example of what we will do for a locked section:
- Assigned to Chester_
- Merge request !12Issue #3387505: Do not remove the layout-builder-block css class β (Merged) created by Unnamed author
- last update
about 1 year ago 2 pass - Issue was unassigned.
- Status changed to Needs review
about 1 year ago 2:31pm 15 September 2023 - Status changed to Needs work
about 1 year ago 10:09pm 15 September 2023 - π³πΏNew Zealand john pitcairn
It also needs to not remove the class in prerender.
- last update
about 1 year ago 2 fail - π³πΏNew Zealand john pitcairn
Like so. We can remove the
for()
loop entirely.I also used a less specific selector than
.layout-builder-lock.layout-builder-lock
to be a bit friendlier to themers. - π³πΏNew Zealand john pitcairn
Ah we do need to remove the
.js-layout-builder-block
class. That will allow themes to target.layout-builder-block
, but should prevent any js actions (which should be targeting the js- class). - last update
about 1 year ago 2 pass - Status changed to Needs review
about 1 year ago 12:04am 16 September 2023 - π³πΏNew Zealand john pitcairn
I think anyone using layout builder lock and customising the render element in css or js may want to have eyes on this. It's possible somebody may be relying on the absence of the
.layout-builder-block
class. - πΊπ¦Ukraine Panchuk Volyn, Lutsk
Thanks for MR guys, it will be merged into the development branch after tests.
- Status changed to Needs work
11 months ago 10:44am 17 December 2023 - πΊπ¦Ukraine Panchuk Volyn, Lutsk
The MR has a conflict with the target branch.
- First commit to issue fork.
- Status changed to Needs review
10 months ago 4:41pm 22 January 2024 - πΊπ¦Ukraine taraskorpach Lutsk
I've updated the merge request, it's now ready to be merged. The tests have passed, but there is a stylelint warning. I'm not sure why it's showing up, as the log points to the 'padding' property, which seems correct to me.
- First commit to issue fork.
- πΊπ¦Ukraine Foxy-vikvik
The style link issue was fixed in the last merge request.
- Status changed to RTBC
10 months ago 9:21am 27 January 2024 - πΊπ¦Ukraine taraskorpach Lutsk
Class removed, tests passed -> no reason not to mark it as RBTC.
- πΊπ¦Ukraine Panchuk Volyn, Lutsk
Solved coding standards issues and reviewed as part of initiative #LutskGCW24
-
Panchuk β
committed 24009709 on 8.x-1.x authored by
Chesterr β
Issue #3387505: Do not remove the layout-builder-block css class
-
Panchuk β
committed 24009709 on 8.x-1.x authored by
Chesterr β
- Status changed to Fixed
10 months ago 9:34am 27 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.