From 399671d7098c2a02c0499aa87074740dbfa5f408 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Fri, 5 Jan 2024 13:12:38 +0000 Subject: [PATCH] Add extra row to coordinator table --- frontend/src/basic/SettingsPage/index.tsx | 2 +- frontend/src/components/FederationTable/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/basic/SettingsPage/index.tsx b/frontend/src/basic/SettingsPage/index.tsx index 6b0809c6..b618a2ed 100644 --- a/frontend/src/basic/SettingsPage/index.tsx +++ b/frontend/src/basic/SettingsPage/index.tsx @@ -24,7 +24,7 @@ const SettingsPage = (): JSX.Element => { - + diff --git a/frontend/src/components/FederationTable/index.tsx b/frontend/src/components/FederationTable/index.tsx index 437cc9ad..f28e63f0 100644 --- a/frontend/src/components/FederationTable/index.tsx +++ b/frontend/src/components/FederationTable/index.tsx @@ -22,14 +22,14 @@ const FederationTable = ({ const { t } = useTranslation(); const { federation, sortedCoordinators, coordinatorUpdatedAt } = useContext(FederationContext); - const { hostUrl, setOpen } = useContext(AppContext); + const { setOpen } = useContext(AppContext); const theme = useTheme(); const [pageSize, setPageSize] = useState(0); // all sizes in 'em' const fontSize = theme.typography.fontSize; - const verticalHeightFrame = 3.25; - const verticalHeightRow = 3.25; + const verticalHeightFrame = 3.3; + const verticalHeightRow = 3.27; const defaultPageSize = Math.max( Math.floor((maxHeight - verticalHeightFrame) / verticalHeightRow), 1,