Skip to content

Commit

Permalink
Fix height bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskerr committed Jan 25, 2023
1 parent 14ab50d commit 3fca790
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/css/_chart.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.chart {
height: 80px;
height: 100px;
position: relative;

.selection {
Expand Down
4 changes: 2 additions & 2 deletions src/panes/results-pane/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ function useContextValue(parentRef: React.RefObject<HTMLDivElement>) {
const dispatch = useDispatch()

return {
width: rect.width,
height: rect.height,
width: rect.width ?? 1000,
height: rect.height ?? 1000,
view: useSelector(Layout.getResultsView),
error: useSelector(Results.getError(MAIN_RESULTS)),
values: useSelector(Results.getValues(MAIN_RESULTS)),
Expand Down

0 comments on commit 3fca790

Please sign in to comment.