Skip to content

Commit

Permalink
fix(ui5-multi-combobox): set correct height to items checkboxes (#5216)
Browse files Browse the repository at this point in the history
FIXES: #5126
  • Loading branch information
MapTo0 authored May 25, 2022
1 parent a7de0cd commit 0946207
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/main/src/MultiComboBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ import styles from "./generated/themes/MultiComboBox.css.js";
import ResponsivePopoverCommonCss from "./generated/themes/ResponsivePopoverCommon.css.js";
import ValueStateMessageCss from "./generated/themes/ValueStateMessage.css.js";
import SuggestionsCss from "./generated/themes/Suggestions.css.js";
import MultiComboBoxPopover from "./generated/themes/MultiComboBoxPopover.css.js";

/**
* @public
Expand Down Expand Up @@ -431,7 +432,7 @@ class MultiComboBox extends UI5Element {
}

static get staticAreaStyles() {
return [ResponsivePopoverCommonCss, ValueStateMessageCss, SuggestionsCss];
return [ResponsivePopoverCommonCss, ValueStateMessageCss, SuggestionsCss, MultiComboBoxPopover];
}

static get dependencies() {
Expand Down
3 changes: 3 additions & 0 deletions packages/main/src/themes/MultiComboBoxPopover.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.ui5-suggestions-popover .ui5-multi-combobox-all-items-list {
--_ui5_checkbox_width_height: var(--_ui5_list_item_dropdown_base_height);
}

0 comments on commit 0946207

Please sign in to comment.