From 7330ca20f862b9fbec0da69f70a24d9ef7d7b059 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 25 May 2023 20:16:19 +0200 Subject: [PATCH] condensed table for entity data --- interface/src/project/DashboardDevices.tsx | 41 +++++++++++++--------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/interface/src/project/DashboardDevices.tsx b/interface/src/project/DashboardDevices.tsx index c559dc02d..24c3ee52d 100644 --- a/interface/src/project/DashboardDevices.tsx +++ b/interface/src/project/DashboardDevices.tsx @@ -156,6 +156,11 @@ const DashboardDevices: FC = () => { display:none; } `, + BaseRow: ` + .td { + height: 32px; + } + `, BaseCell: ` &:nth-of-type(1) { border-left: 1px solid #177ac9; @@ -499,7 +504,6 @@ const DashboardDevices: FC = () => { {coreData.devices[deviceIndex].n} -  ({shown_data.length}) @@ -510,22 +514,25 @@ const DashboardDevices: FC = () => { - setShowDeviceInfo(true)}> - - - - - - setOnlyFav(!onlyFav)}> - {onlyFav ? ( - - ) : ( - - )} - - - - + + {shown_data.length + ' ' + LL.ENTITIES()} + setShowDeviceInfo(true)}> + + + + + + setOnlyFav(!onlyFav)}> + {onlyFav ? ( + + ) : ( + + )} + + + + +