Skip to content

Commit

Permalink
Fixed element label alignment
Browse files Browse the repository at this point in the history
Fixes #13168
  • Loading branch information
brandonkelly committed May 9, 2023
1 parent 9d3ba64 commit 401500d
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 @@ -9,6 +9,7 @@
- Fixed an error that could occur when entrifying a global set without a field layout. ([#13156](https://github.com/craftcms/cms/issues/13156))
- Fixed a bug where Single entries’ edit pages could have “Save and add another” actions. ([#13157](https://github.com/craftcms/cms/issues/13157))
- Fixed styling issues with Date fields. ([#13167](https://github.com/craftcms/cms/issues/13167))
- Fixed the vertical alignment of element labels. ([#13168](https://github.com/craftcms/cms/issues/13168))
- Added `craft\helpers\ArrayHelper::containsRecursive()`.

## 4.4.9 - 2023-05-02
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 @@ -2839,6 +2839,7 @@ $elementInnerSpacing: 5px;
.label {
display: inline-block;
overflow: hidden;
vertical-align: bottom; // https://stackoverflow.com/a/37427386/1688568
text-overflow: ellipsis;
max-width: 100%;

Expand Down

0 comments on commit 401500d

Please sign in to comment.