Skip to content

Commit

Permalink
removed collapsable sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Astrakhan authored and nyurik committed Jul 17, 2017
1 parent da2e93d commit 0934390
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "vega_vis",
"version": "0.0.1",
"version": "0.1.0",
"description": "Build vega visualizations into Kibana",
"main": "index.js",
"kibana": {
"version": "kibana"
},
"repository": "spalger/kibana-vega-vis",
"repository": "nyurik/kibana-vega-vis",
"license": "Apache-2.0",
"author": "Spencer Alger <spencer.alger@elastic.co>",
"contributors": [
"Yuri Astrakhan <YuriAstrakhan@gmail.com>"
"Spencer Alger <spencer.alger@elastic.co>",
"Yuri Astrakhan <YuriAstrakhan@gmail.com>",
"Nathan Reese <reese.nathan@gmail.com>"
],
"keywords": [
"kibana",
Expand Down
6 changes: 4 additions & 2 deletions public/vega_vis_editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ vega-vis-editor {
flex-direction: row;

.vegaEditor {
// this is overriden by flex: 0 0 auto; defined for .collapsible-sidebar
//flex: 2 2 auto;
// this would is overriden by .collapsible-sidebar: flex: 0 0 auto
flex: 2 2 auto;

flex-basis: 50%;
display: flex;
flex-direction: column;

.vegaEditorToolbar {
Expand Down
3 changes: 2 additions & 1 deletion public/vega_vis_editor.template.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="col-md-5 sidebar-container collapsible-sidebar vegaEditor" style="margin-right: 0;">
<!--TODO: add collapsible-sidebar class (doesn't work in 5.5 with the split.js) -->
<div class="col-md-5 sidebar-container vegaEditor" style="margin-right: 0;">
<div class="vegaEditorToolbar">
<span>Reformat as:</span>
<button
Expand Down

0 comments on commit 0934390

Please sign in to comment.