Parcourir la source

Merge pull request #192 from ckeditor/revert-186-t/ckeditor5/952

Revert: The `DropdownPanelView` should scroll when the content is long. Added a CSS custom property to control the height of the panel (see ckeditor/ckeditor5#952).
Aleksander Nowodzinski il y a 7 ans
Parent
commit
eaf01282d9

+ 0 - 5
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css

@@ -9,7 +9,6 @@
 
 :root {
 	--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));
-	--ck-dropdown-panel-max-height: 70vh;
 }
 
 .ck.ck-dropdown {
@@ -58,10 +57,6 @@
 	@mixin ck-rounded-corners;
 	@mixin ck-drop-shadow;
 
-	/* https://github.com/ckeditor/ckeditor5/issues/952 */
-	max-height: var(--ck-dropdown-panel-max-height);
-	overflow-y: auto;
-
 	/* Disabled radius of top-left border to be consistent with .dropdown__button
 	https://github.com/ckeditor/ckeditor5/issues/816 */
 	@mixin ck-rounded-corners {