Fix button display when there is no panels (#8155)

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2020-11-06 16:34:35 +01:00 committed by GitHub
parent f81536d020
commit 8dd0a3e9a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ export const PanelListContent: FC<PanelListProps> = ({
enableMetricAutocomplete={enableMetricAutocomplete} enableMetricAutocomplete={enableMetricAutocomplete}
/> />
))} ))}
<Button className="mb-3" color="primary" onClick={addPanel}> <Button className="d-block mb-3" color="primary" onClick={addPanel}>
Add Panel Add Panel
</Button> </Button>
</> </>