Skip to content

Commit 1372a53

Browse files
authoredAug 15, 2024
Merge pull request #272 from craftcms/bugfix/268-dropdown-height
set max dropdown height
2 parents 9d4d8b0 + 62444e7 commit 1372a53

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- CKEditor configs created via the `ckeditor/convert` command now allow modifying HTML attributes, classes, and styles within the source view, if the Redactor config included the `html` button. ([#264](https://github.com/craftcms/ckeditor/pull/264), [#263](https://github.com/craftcms/ckeditor/issues/263))
66
- Added `craft\ckeditor\events\ModifyConfigEvent::$toolbar`. ([#233](https://github.com/craftcms/ckeditor/pull/233))
77
- Fixed a bug where code blocks created by a Redactor field only had `<pre>` tags with no `<code>` tags inside them. ([#258](https://github.com/craftcms/ckeditor/issues/258))
8+
- Fixed a bug where dropdown menus didn’t have a maximum height. ([#268](https://github.com/craftcms/ckeditor/issues/268))
89

910
## 3.8.3 - 2024-03-28
1011

‎src/web/assets/ckeditor/dist/css/ckeditor5-craftcms.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/web/assets/ckeditor/dist/css/ckeditor5-craftcms.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/web/assets/ckeditor/src/ckeditor5-craftcms.css

+5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ a.ck.ck-button:focus {
6565
border: none !important;
6666
}
6767

68+
.ck.ck-dropdown__panel-visible {
69+
max-height: 50vh;
70+
overflow-y: scroll;
71+
}
72+
6873
.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on {
6974
border-bottom-left-radius: var(--ck-border-radius) !important;
7075
border-bottom-right-radius: var(--ck-border-radius) !important;

0 commit comments

Comments
 (0)