Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small css fixes #8

Merged
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
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