Skip to content

Commit

Permalink
bug #6323 Fix Fieldset header styles (kteterycz)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Fix Fieldset header styles

Removes the unnecessary space that appeared after transitioning from SCSS to CSS. After this change, the `form-fieldset-collapse-marker` should display correctly when fieldset is collapsed.

Before:
![image](https://github.com/EasyCorp/EasyAdminBundle/assets/3919837/d4759241-ca0f-4bb4-b42f-3dd3e9d4d22e)

After:
![image](https://github.com/EasyCorp/EasyAdminBundle/assets/3919837/9f1be78e-a370-48b7-8973-6052c20383a9)

Commits
-------

37bdfd4 Fix Fieldset header styles
  • Loading branch information
javiereguiluz committed Jun 13, 2024
2 parents 1fcf7e8 + 37bdfd4 commit 9ec576c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/css/easyadmin-theme/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ label.form-check-label {
font-weight: bold;
padding: 0 0 5px;
}
.form-fieldset-header .form-fieldset-title .form-fieldset-title-content .not-collapsible { cursor: default; }
.form-fieldset-header .form-fieldset-title .form-fieldset-title-content .collapsed .form-fieldset-collapse-marker {
.form-fieldset-header .form-fieldset-title .form-fieldset-title-content.not-collapsible { cursor: default; }
.form-fieldset-header .form-fieldset-title .form-fieldset-title-content.collapsed .form-fieldset-collapse-marker {
transform: rotate(0deg);
}
.form-fieldset-header .form-fieldset-title .form-fieldset-title-content .collapsible::after {
Expand Down

0 comments on commit 9ec576c

Please sign in to comment.