diff --git a/src/bundle/Resources/public/scss/_split-button.scss b/src/bundle/Resources/public/scss/_split-button.scss index 465c6030b4..43762afb1e 100644 --- a/src/bundle/Resources/public/scss/_split-button.scss +++ b/src/bundle/Resources/public/scss/_split-button.scss @@ -50,4 +50,13 @@ } } } + + &--filled-info { + .ibexa-split-btn { + &__split { + display: block; + background: $ibexa-color-white; + } + } + } } diff --git a/src/bundle/Resources/views/themes/admin/ui/menu/context_menu.html.twig b/src/bundle/Resources/views/themes/admin/ui/menu/context_menu.html.twig index 07124ff6b3..1774505135 100644 --- a/src/bundle/Resources/views/themes/admin/ui/menu/context_menu.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/menu/context_menu.html.twig @@ -90,6 +90,10 @@ {%- set split_btn_type = item.extras.primary|default(false) ? 'primary' : 'secondary' -%} {% endif %} + {% if options.primary_split_btn_type is defined and item.extras.primary|default(false) %} + {%- set split_btn_type = options.primary_split_btn_type -%} + {% endif %} + {{ include('@ibexadesign/ui/component/split_btn/split_btn.html.twig', { type: split_btn_type, attr: {