Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-7600: Fixed color of split button in edit mode #1380

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading