From 872759f579b427e2c6561608658dda5ddbcc100e Mon Sep 17 00:00:00 2001 From: Rajat Dabade Date: Thu, 27 Jul 2023 12:12:15 +0530 Subject: [PATCH] refactor: updated the legend div size (#3131) Co-authored-by: Palash Gupta --- frontend/src/components/Graph/Plugin/Legend.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/Graph/Plugin/Legend.ts b/frontend/src/components/Graph/Plugin/Legend.ts index 787933f442..8880657855 100644 --- a/frontend/src/components/Graph/Plugin/Legend.ts +++ b/frontend/src/components/Graph/Plugin/Legend.ts @@ -19,6 +19,7 @@ const getOrCreateLegendList = ( listContainer.style.overflowY = 'scroll'; listContainer.style.justifyContent = isLonger ? 'start' : 'center'; listContainer.style.alignItems = isLonger ? 'start' : 'center'; + listContainer.style.minHeight = '2rem'; listContainer.style.height = '100%'; listContainer.style.flexWrap = 'wrap'; listContainer.style.justifyContent = 'center';