Skip to content

Commit b86f7a9

Browse files
committed
Truncate long field names in filter editor (#13379)
* Truncate long field names in filter editor * Update filter editor styles
1 parent d263824 commit b86f7a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/ui/public/filter_editor/filter_editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
class="kuiFieldGroup kuiVerticalRhythmSmall kuiFieldGroup--alignTop"
4444
ng-show="!filterEditor.showQueryDslEditor()"
4545
>
46-
<div class="kuiFieldGroupSection">
46+
<div class="kuiFieldGroupSection filterEditor__wideField">
4747
<filter-field-select
4848
index-patterns="filterEditor.indexPatterns"
4949
field="filterEditor.field"
@@ -60,7 +60,7 @@
6060
></filter-operator-select>
6161
</div>
6262

63-
<div class="kuiFieldGroupSection kuiFieldGroupSection--wide filterEditor__wideField">
63+
<div class="kuiFieldGroupSection kuiFieldGroupSection--wide filterEditor__wideField filterEditorParamsInput">
6464
<filter-params-editor
6565
ng-if="filterEditor.field && filterEditor.operator"
6666
field="filterEditor.field"

src/ui/public/filter_editor/filter_editor.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
min-width: 0;
1717
}
1818

19+
.filterEditorParamsInput {
20+
min-width: 100px;
21+
}
22+
1923
.uiSelectChoices--autoWidth {
2024
width: auto !important;
2125
min-width: 100% !important;

0 commit comments

Comments
 (0)