Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_dashboard
Commits
18f322d0
Commit
18f322d0
authored
Aug 22, 2020
by
Igor Biki
Browse files
ISTWCMS-3830 Adding flex(css) to config form.
parent
2b31d29c
Changes
2
Hide whitespace changes
Inline
Side-by-side
css/uw_dashboard.css
View file @
18f322d0
.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
;
}
src/Plugin/Block/ContentManagementMenuBlock.php
View file @
18f322d0
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment