Skip to content

Commit 95aacde

Browse files
authored
Merge pull request #4109 from wowsims/list-picker-hidden-fix
fix hidden list picker
2 parents 7fdaa43 + 11b0df9 commit 95aacde

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

ui/core/components/list_picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class ListPicker<ModObject, ItemType> extends Input<ModObject, Array<Item
7979
)
8080

8181
if (this.config.hideUi) {
82-
this.rootElem.classList.add('hide-ui');
82+
this.rootElem.classList.add('d-none');
8383
}
8484
if (this.config.horizontalLayout) {
8585
this.config.inlineMenuBar = true;

ui/scss/core/components/_list_picker.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,6 @@
7272
}
7373
}
7474

75-
.list-picker-root.hide-ui {
76-
.list-picker-item-container {
77-
padding: 0 !important;
78-
margin: 0 !important;
79-
border: none !important;
80-
}
81-
.list-picker-item-header {
82-
display: none !important;
83-
}
84-
.list-picker-new-button {
85-
display: none !important;
86-
}
87-
}
88-
8975
.list-picker-root.horizontal {
9076
flex-direction: row;
9177
align-items: center;

0 commit comments

Comments
 (0)