Skip to content

Commit

Permalink
Set max height so vainfo doesn't overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Dec 5, 2022
1 parent 87e2810 commit 833a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/System.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function System() {
<Dialog>
<div className="p-4">
<Heading size="lg">Vainfo Output</Heading>
{state.vainfo != '' ? <p className="mb-2">{state.vainfo}</p> : <ActivityIndicator />}
{state.vainfo != '' ? <p className="mb-2 max-h-96 overflow-scroll">{state.vainfo}</p> : <ActivityIndicator />}
</div>
<div className="p-2 flex justify-start flex-row-reverse space-x-2">
<Button className="ml-2" onClick={() => onCopyVainfo()} type="text">
Expand Down

0 comments on commit 833a12f

Please sign in to comment.