Skip to content

Commit

Permalink
Merge pull request #44 from concord-consortium/187321139-refactor-app…
Browse files Browse the repository at this point in the history
…-layout

fix: Fix disappearing sidebar [PT-187321139]
  • Loading branch information
dougmartin authored Apr 5, 2024
2 parents b12d7b1 + 5e8c354 commit be769b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/components/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
margin: 10px;

.left {
overflow: hidden;

display: flex;
flex-direction: column;
justify-content: space-between;
Expand Down
4 changes: 2 additions & 2 deletions src/components/graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,8 @@ export const Graph = (props: Props) => {
return (
<div className="graph" ref={wrapperRef} onClick={handleClick}>
<svg
width={width}
height={height}
width="100%"
height="calc(100vh - 20px)"
viewBox={viewBox}
ref={svgRef}
/>
Expand Down
1 change: 1 addition & 0 deletions src/components/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
border-radius: 3px;
background-color: #dddddd7f;
justify-content: space-between;
gap: 10px;

button {
width: 32px;
Expand Down

0 comments on commit be769b5

Please sign in to comment.