Skip to content

Commit

Permalink
Fixes page jump when showing node logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
neomorphic committed Aug 3, 2022
1 parent 4eb2135 commit cafa850
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/RepoLog.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
resize:vertical;
height: 10em;
}

.repoLog .MuiCardHeader-root {
height: 22px;
}
9 changes: 8 additions & 1 deletion src/RepoLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ export default function RepoLog({ log, uuid, selectedNode, onClose }) {
selectedNode ? (
<>
<span>Node Log for {selectedNode.UUID}:</span>{" "}
<Button onClick={handleClose} variant="outlined" size="small">restore repo log</Button>
<Button
onClick={handleClose}
variant="outlined"
size="small"
className="restoreButton"
>
restore repo log
</Button>
</>
) : (
"Repo Log:"
Expand Down

0 comments on commit cafa850

Please sign in to comment.