Skip to content

Commit

Permalink
Merge pull request #30 from tienvx/fix-accordion-actions-bootstrap-5
Browse files Browse the repository at this point in the history
Fix accordion actions for bootstrap 5
  • Loading branch information
tienvx authored Oct 12, 2021
2 parents 8bdab57 + 2db1eb4 commit 4c46097
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Resources/assets/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
transform: rotate(90deg);
}

/* Bootstrap 5 */
/* Bootstrap 5 & Easy Admin */
.form-group.collection-js.field-collection .accordion-header {
padding-right: 0;
}
Expand All @@ -25,6 +25,12 @@
transform: rotate(90deg);
}

.form-group.collection-js:not(.field-collection) .accordion-button:not(.collapsed) + .collection-js-actions {
color: #283848;
background-color: #eaecee;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

/* Bootstrap 3, 4 */
.form-group.collection-js .panel-heading,
.form-group.collection-js .card-header {
Expand Down

0 comments on commit 4c46097

Please sign in to comment.