Skip to content

Commit

Permalink
Truncate long field names in filter editor (elastic#13379)
Browse files Browse the repository at this point in the history
* Truncate long field names in filter editor

* Update filter editor styles
  • Loading branch information
lukasolson committed Aug 9, 2017
1 parent aedab18 commit b677bea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/public/filter_editor/filter_editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
class="kuiFieldGroup kuiVerticalRhythmSmall kuiFieldGroup--alignTop"
ng-show="!filterEditor.showQueryDslEditor()"
>
<div class="kuiFieldGroupSection">
<div class="kuiFieldGroupSection filterEditor__wideField">
<filter-field-select
index-patterns="filterEditor.indexPatterns"
field="filterEditor.field"
Expand All @@ -60,7 +60,7 @@
></filter-operator-select>
</div>

<div class="kuiFieldGroupSection kuiFieldGroupSection--wide filterEditor__wideField">
<div class="kuiFieldGroupSection kuiFieldGroupSection--wide filterEditor__wideField filterEditorParamsInput">
<filter-params-editor
ng-if="filterEditor.field && filterEditor.operator"
field="filterEditor.field"
Expand Down
4 changes: 4 additions & 0 deletions src/ui/public/filter_editor/filter_editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
min-width: 0;
}

.filterEditorParamsInput {
min-width: 100px;
}

.uiSelectChoices--autoWidth {
width: auto !important;
min-width: 100% !important;
Expand Down

0 comments on commit b677bea

Please sign in to comment.