Skip to content

Commit

Permalink
6593979 part 2
Browse files Browse the repository at this point in the history
Fixes #16775
  • Loading branch information
brandonkelly committed Feb 26, 2025
1 parent 6593979 commit 91ccb58
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for Craft CMS 5

## Unreleased

- The Fields/UI Elements toggle and “Ne field” button are now always visible within field layout designers’ library HUDs.
- (Really) fixed a bug where field layout designers’ library HUDs weren’t scrollable. ([#16775](https://github.com/craftcms/cms/issues/16775))

## 5.6.10.1 - 2025-02-25

- Fixed a bug where field layout designers’ library HUDs weren’t scrollable.
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.

22 changes: 13 additions & 9 deletions src/web/assets/cp/src/css/_fld.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ $gridColor: var(--gray-100);
width: $tabWidth - 1;
max-width: 100%;

.main-container {
max-height: 600px;

.main {
padding: $tabPadding;
}
.main {
height: 100%;
padding: $tabPadding;
}
}

Expand All @@ -76,18 +73,25 @@ $gridColor: var(--gray-100);
.fld-library {
display: flex;
flex-direction: column;
height: 100%;

.btngroup {
margin-block-end: $tabPadding;
}

.fld-field-library {
margin: -3px;
padding: 3px;
.fld-field-library,
.fld-ui-library {
margin-block: -3px;
margin-inline: #{-$tabPadding};
padding-block: 3px;
padding-inline: #{$tabPadding};
flex: 1;
min-height: 0;
max-height: 550px;
overflow: auto;
}

.fld-field-library {
.fld-field-group {
margin-block-start: $tabPadding;

Expand Down

0 comments on commit 91ccb58

Please sign in to comment.