Skip to content

Commit

Permalink
Fix accordion actions for bootstrap 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Oct 12, 2021
1 parent 8bdab57 commit 2db1eb4
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 2db1eb4

Please sign in to comment.