Fix width of Watcher table. (#30311) (#31938)

This commit is contained in:
CJ Cenizal 2019-02-25 11:23:55 -08:00 committed by GitHub
parent c2958dc875
commit 22aa08ed95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View file

@ -25,4 +25,5 @@
@import 'sections/watch_edit/components/threshold_watch_edit/index';
@import 'sections/watch_edit/components/watch_edit_detail/index';
@import 'sections/watch_edit/components/watch_edit_execute_detail/index';
@import 'sections/watch_edit/components/watch_edit_title_panel/index';
@import 'sections/watch_edit/components/watch_edit_title_panel/index';
@import 'sections/watch_list/components/watch_list/index';

View file

@ -0,0 +1 @@
@import './watch_list';

View file

@ -0,0 +1,6 @@
/**
* 1. Watch list width collapses without this.
*/
.watcherWatchList {
width: 100%; /* 1 */
}

View file

@ -1,4 +1,4 @@
<kbn-management-app section="elasticsearch/watcher">
<kbn-management-app section="elasticsearch/watcher" class="watcherWatchList">
<div class="euiPanel euiPanel--paddingLarge euiPageContent" style="flex-grow: 0">
<forbidden-message ng-if="watchList.forbidden">
{{ 'xpack.watcher.sections.watchList.noPermissionToManageWatchesText' | i18n: { defaultMessage: 'You do not have permission to manage watches.' } }}