Skip to content

Commit

Permalink
IBX-7600: Fixed color of split button in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 authored and juskora committed Oct 30, 2024
1 parent a6b17a7 commit 496640d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/bundle/Resources/public/scss/_split-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,13 @@
}
}
}

&--filled-info {
.ibexa-split-btn {
&__split {
display: block;
background: $ibexa-color-white;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 496640d

Please sign in to comment.