Skip to content

Commit adb6c45

Browse files
brahmgardnerkangas
authored andcommitted
INT-1664 switch button position, default (#443)
(cherry picked from commit ebfe620)
1 parent 6f6c582 commit adb6c45

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/explain-plan/index.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
.view-switcher
4646
span View Details As
4747
.btn-group.btn-group-xs(role="group")
48-
button.btn.btn-default(data-hook='json-button') Raw JSON
4948
button.btn.btn-default(data-hook='tree-button') Visual Tree
49+
button.btn.btn-default(data-hook='json-button') Raw JSON
5050

5151
.tree-container
5252
div(data-hook='tree-subview')

src/app/explain-plan/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = View.extend({
4646
hasRefineBar: ['boolean', true, true],
4747
activeDetailView: {
4848
type: 'string',
49-
default: 'json',
49+
default: 'tree',
5050
values: ['json', 'tree']
5151
}
5252
},

src/app/explain-plan/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.explain-container {
22

33
// hacks for json view on explain tab
4-
ol.document-list li.document-list-item ol.document-property-body li.document-property.array ol.document-property-body .document-property-key,
4+
ol.document-list li.document-list-item ol.document-property-body li.document-property.array ol.document-property-body .document-property-key,
55
ol.document-list li.document-list-item ol.document-property-body li.document-property.object ol.document-property-body .document-property-key {
66
margin-left: 0;
77
}
@@ -21,7 +21,7 @@
2121
margin-left: 0;
2222
}
2323
// end hacks
24-
24+
2525
.summary-container {
2626
background: @pw;
2727
padding: 12px;

0 commit comments

Comments
 (0)