Commit 18f322d0 authored by Igor Biki's avatar Igor Biki
Browse files

ISTWCMS-3830 Adding flex(css) to config form.

parent 2b31d29c
.content-management-block-table > tbody > tr > td:first-child {
width: 75%;
}
.flex-container > div {
display: flex;
}
.flex-container > div > fieldset {
flex-grow: 1;
flex-basis: 0;
}
......@@ -158,6 +158,9 @@ class ContentManagementMenuBlock extends BlockBase implements ContainerFactoryPl
$form['details'] = [
'#type' => 'fieldset',
'#title' => $this->t('Menus to display'),
'#attributes' => [
'class' => ['flex-container'],
],
];
foreach ($menu_first_level as $item_first_level) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment