Skip to content

Commit

Permalink
Vertically center asset previews
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
brandonkelly committed Dec 14, 2024
1 parent b8db7a7 commit a7bb944
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 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 elements’ `getPrev()` and `getNext()` methods could cause duplicate queries. ([#16329](https://github.com/craftcms/cms/discussions/16329))
- Fixed a bug where assets that were shorter than the preview thumb container weren’t getting vertically centered within it.

## 4.13.6 - 2024-12-10

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.

1 change: 1 addition & 0 deletions src/web/assets/cp/src/css/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5246,6 +5246,7 @@ $min2ColWidth: 400px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;

Expand Down

0 comments on commit a7bb944

Please sign in to comment.