Skip to content

Commit

Permalink
Merge pull request #15156 from craftcms/bugfix/content-alignment
Browse files Browse the repository at this point in the history
Content alignment
  • Loading branch information
brandonkelly authored Jun 6, 2024
2 parents d496191 + 0127c6f commit 147134f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Fixed a bug where element indexes’ “Date Created” columns were mislabeled as “Date Uploaded”. ([#15155](https://github.com/craftcms/cms/issues/15155))
- Fixed a bug where the content pane had extra padding on pages without a meta sidebar.

## 5.2.0-beta.3 - 2024-06-04

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/_cp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1056,12 +1056,16 @@ li.breadcrumb-toggle-wrapper {
}

.content-grid {
--size-main-content: calc(100% - var(--touch-target-size));
--size-main-content: 100%;
position: relative;
display: grid;
grid-template-columns: minmax(var(--size-main-content), 1fr) var(
--touch-target-size
);

&:has(#details-toggle) {
--size-main-content: calc(100% - var(--touch-target-size));
}
}

.content-pane {
Expand Down

0 comments on commit 147134f

Please sign in to comment.