Skip to content

Commit

Permalink
[#3415664] Allow layout builder block to receive layout builder classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgaunt committed Oct 22, 2024
1 parent 2243ee1 commit b19a93d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,6 @@
cursor: move;
background-color: #fff;
position: relative;

div.contextual {
display: contents;

ul {
border: 1px solid;

li {
list-style: none;
display: list-item;
}
}
}
}

.block.block-layout-builder [tabindex='-1'] {
Expand Down
7 changes: 7 additions & 0 deletions web/themes/contrib/civictheme/includes/layout.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ function civictheme_preprocess_layout__three_columns(array &$variables): void {
$variables['is_contained'] = $variables['settings']['is_contained'] ?? FALSE;
$variables['vertical_spacing'] = $variables['settings']['vertical_spacing'] ?? 'auto';
}

/**
* Implements hook_preprocess_HOOK().
*/
function civictheme_preprocess_block__layout_builder(array &$variables): void {
$variables['modifier_class'] = FALSE;
}

0 comments on commit b19a93d

Please sign in to comment.