forked from Github/frigate
Set max height so vainfo doesn't overflow (#4598)
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user