Skip to content

Commit

Permalink
IBX-3071: Allow adaptive filters component to adapt to a tab (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic authored Jun 27, 2022
1 parent 03d4b64 commit 09739d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bundle/Resources/public/scss/_adaptive-filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
margin: calculateRem(-33px) calculateRem(-33px) calculateRem(24px) calculateRem(-33px);
}

&--inside-tabs {
margin: calculateRem(-11px) calculateRem(-25px) 0 calculateRem(-25px);
border-top: 0;
border-radius: 0 0 $ibexa-border-radius $ibexa-border-radius;
}

&__visible {
display: flex;
align-items: flex-end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
~ (no_labels|default(false) ? 'ibexa-adaptive-filters--no-labels ')
~ (no_collapsible_items|default(false) ? 'ibexa-adaptive-filters--no-collapsible-items ')
~ (is_inside_container|default(false) ? 'ibexa-adaptive-filters--inside-container ')
~ (is_inside_tabs|default(false) ? 'ibexa-adaptive-filters--inside-tabs ')
~ attr.class|default(''))|trim,
}) %}
{% set attr_form = attr_form|default({}) %}
Expand Down

0 comments on commit 09739d6

Please sign in to comment.