fix: scroll is added in case of extra space (#1838)

This commit is contained in:
Palash Gupta 2022-12-09 10:00:55 +05:30 committed by GitHub
parent 6931b18382
commit f170eb1b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,10 @@ import SelectService from './SelectService';
import { getGraphData, getTooltip, getZoomPx, transformLabel } from './utils'; import { getGraphData, getTooltip, getZoomPx, transformLabel } from './utils';
const Container = styled.div` const Container = styled.div`
.force-graph-container {
overflow: scroll;
}
.force-graph-container .graph-tooltip { .force-graph-container .graph-tooltip {
background: black; background: black;
padding: 1px; padding: 1px;