Skip to content

Commit

Permalink
Merge pull request #16078 from craftcms/bugfix/cms-16061-details-alig…
Browse files Browse the repository at this point in the history
…nment

Details alignment without meta fields
  • Loading branch information
brandonkelly authored Nov 12, 2024
2 parents fa76a0b + e5d3862 commit d40c10d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Fixed an error that could occur when upgrading to Craft 5, if unused field layouts contained duplicate UUIDs. ([#16032](https://github.com/craftcms/cms/issues/16032))
- Fixed a bug where Live Preview wasn’t reloading after performing bulk actions in embedded element indexes. ([#16057](https://github.com/craftcms/cms/discussions/16057))
- Fixed a bug where restoring a soft-deleted element would restore any nested elements that had been explicitly soft-deleted. ([#16059](https://github.com/craftcms/cms/issues/16059))
- Fixed a mobile styling bug.
- Fixed styling bugs. ([#16061](https://github.com/craftcms/cms/issues/16061))

## 5.4.10.1 - 2024-11-07

Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/css/cp.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/css/cp.css.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/web/assets/cp/src/css/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5753,7 +5753,11 @@ table.data tbody tr:not(.disabled).active-drop-target {
}
}

& > fieldset {
/*
When there's no .meta container (which can occur when editing a matrix block)
make sure the sidebar aligns with the top of the content area.
*/
& > fieldset:not(:first-child) {
margin-block: var(--spacing) !important;
margin-inline: 0 !important;
}
Expand Down

0 comments on commit d40c10d

Please sign in to comment.