Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/explain-plan/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion src/app/explain-plan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = View.extend({
hasRefineBar: ['boolean', true, true],
activeDetailView: {
type: 'string',
default: 'json',
default: 'tree',
values: ['json', 'tree']
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/app/explain-plan/index.less
Original file line number Diff line number Diff line change
@@ -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;
}
Expand All @@ -21,7 +21,7 @@
margin-left: 0;
}
// end hacks

.summary-container {
background: @pw;
padding: 12px;
Expand Down