Skip to content

Commit

Permalink
IBX-5660: Added option to position headline items (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored May 11, 2023
1 parent ed97b40 commit 2d46479
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/bundle/Resources/public/scss/_details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
}

&__header {
.ibexa-table-header {
justify-content: flex-start;
&--inline-headline {
.ibexa-table-header {
justify-content: flex-start;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ibexa-details">
{% block details_header %}
{% if headline is defined %}
<div class="ibexa-details__header">
<div class="ibexa-details__header {{ is_inline_headline|default(false) ? 'ibexa-details__header--inline-headline' }}">
{% include '@ibexadesign/ui/component/table/table_header.html.twig' with {
headline,
actions: headline_items|default([])
Expand Down

0 comments on commit 2d46479

Please sign in to comment.