From a532426a60d1e00ccedad51befd3173183657f41 Mon Sep 17 00:00:00 2001 From: Brahm Gardner Date: Tue, 19 Jul 2016 17:13:17 -0400 Subject: [PATCH] switch button position, default --- src/app/explain-plan/index.jade | 2 +- src/app/explain-plan/index.js | 2 +- src/app/explain-plan/index.less | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/explain-plan/index.jade b/src/app/explain-plan/index.jade index 4a38ca82375..79551fc36e7 100644 --- a/src/app/explain-plan/index.jade +++ b/src/app/explain-plan/index.jade @@ -45,8 +45,8 @@ .view-switcher span View Details As .btn-group.btn-group-xs(role="group") - button.btn.btn-default(data-hook='json-button') Raw JSON button.btn.btn-default(data-hook='tree-button') Visual Tree + button.btn.btn-default(data-hook='json-button') Raw JSON .tree-container div(data-hook='tree-subview') diff --git a/src/app/explain-plan/index.js b/src/app/explain-plan/index.js index 57786bb945e..d06f51bd339 100644 --- a/src/app/explain-plan/index.js +++ b/src/app/explain-plan/index.js @@ -46,7 +46,7 @@ module.exports = View.extend({ hasRefineBar: ['boolean', true, true], activeDetailView: { type: 'string', - default: 'json', + default: 'tree', values: ['json', 'tree'] } }, diff --git a/src/app/explain-plan/index.less b/src/app/explain-plan/index.less index 164985881af..e0229a29f1e 100644 --- a/src/app/explain-plan/index.less +++ b/src/app/explain-plan/index.less @@ -1,7 +1,7 @@ .explain-container { // hacks for json view on explain tab - ol.document-list li.document-list-item ol.document-property-body li.document-property.array ol.document-property-body .document-property-key, + ol.document-list li.document-list-item ol.document-property-body li.document-property.array ol.document-property-body .document-property-key, ol.document-list li.document-list-item ol.document-property-body li.document-property.object ol.document-property-body .document-property-key { margin-left: 0; } @@ -21,7 +21,7 @@ margin-left: 0; } // end hacks - + .summary-container { background: @pw; padding: 12px;