Skip to content

Commit

Permalink
Merge pull request #8 from miukimiu/graph-prototype-bottom-bar
Browse files Browse the repository at this point in the history
Small css fixes
  • Loading branch information
flash1293 authored Apr 14, 2020
2 parents 36103a0 + 31270f9 commit fb6de3b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
8 changes: 8 additions & 0 deletions x-pack/legacy/plugins/graph/public/components/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,12 @@ $sidebarWidth: $euiSizeXXL * 10;
margin-bottom: $euiSize; /* 1 */
}
}

&__panelTitle {
.euiToolTipAnchor {
margin-left: $euiSizeXS;
position: relative;
top: -1px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function AddDataPanelComponent(props: any) {
<EuiAccordion
initialIsOpen={true}
buttonContent={
<EuiTitle size="xs">
<EuiTitle size="xs" className="gphGraphSidebar__panelTitle">
<h4>
Add Significant vertices
<EuiIconTip
Expand Down Expand Up @@ -236,7 +236,7 @@ function AddDataPanelComponent(props: any) {
<EuiAccordion
initialIsOpen={false}
buttonContent={
<EuiTitle size="xs">
<EuiTitle size="xs" className="gphGraphSidebar__panelTitle">
<h4>
Vertices by field
<EuiIconTip
Expand Down Expand Up @@ -311,7 +311,7 @@ function AddDataPanelComponent(props: any) {
<EuiAccordion
initialIsOpen={false}
buttonContent={
<EuiTitle size="xs">
<EuiTitle size="xs" className="gphGraphSidebar__panelTitle">
<h4>
Free vertex
<EuiIconTip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ function GraphVisualizationComponent({
isOpen={open}
closePopover={() => setOpen(false)}
>
<EuiFormRow label="Minimum number of connections">
<EuiFormRow label="Minimum number of documents">
<EuiRange
value={minDocCount}
min={0}
Expand Down Expand Up @@ -890,9 +890,10 @@ function GraphVisualizationComponent({
) : (
<EuiFlexGroup gutterSize="s">
<EuiFlexItem grow={false}>
<span
style={{ padding: 4 }}
>{`${clientWorkspace.nodes.length} vertices, ${clientWorkspace.edges.length} connections (${filteredEdges.length} connections filtered)`}</span>
<span style={{ padding: 4 }}>
<b>{clientWorkspace.nodes.length}</b> vertices,{' '}
<b>{clientWorkspace.edges.length}</b> connections filtered
</span>
</EuiFlexItem>
</EuiFlexGroup>
)}
Expand Down

0 comments on commit fb6de3b

Please sign in to comment.