From 1498a18556091c18227152880ee48ddf5d41b80e Mon Sep 17 00:00:00 2001 From: esikkala <esko.ikkala@aalto.fi> Date: Tue, 27 Nov 2018 08:24:11 +0200 Subject: [PATCH] Improve hierarchical facet layout --- src/client/components/Tree.js | 1 + src/client/index.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/components/Tree.js b/src/client/components/Tree.js index 9e12f1d1..3e8ec742 100644 --- a/src/client/components/Tree.js +++ b/src/client/components/Tree.js @@ -126,6 +126,7 @@ class Tree extends Component { treeData={this.state.treeData} onChange={treeData => this.setState({ treeData })} canDrag={false} + rowHeight={30} // Custom comparison for matching during search. // This is optional, and defaults to a case sensitive search of // the title and subtitle values. diff --git a/src/client/index.html b/src/client/index.html index a88552e5..d69c4f17 100644 --- a/src/client/index.html +++ b/src/client/index.html @@ -34,8 +34,8 @@ font-size: 14px; font-family: 'Roboto', sans-serif; } - .rstcustom__expandButton { - margin-top: 1px + .rstcustom__rowWrapper { + display: flex; } .leaflet-popup-scrolled { border: 0px; -- GitLab