Add extra row to coordinator table

This commit is contained in:
Reckless_Satoshi 2024-01-05 13:12:38 +00:00
parent 085e9ccd48
commit 399671d709
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ const SettingsPage = (): JSX.Element => {
<SettingsForm />
</Grid>
<Grid item>
<FederationTable maxHeight={14} />
<FederationTable maxHeight={18} />
</Grid>
</Grid>
</Paper>

View File

@ -22,14 +22,14 @@ const FederationTable = ({
const { t } = useTranslation();
const { federation, sortedCoordinators, coordinatorUpdatedAt } =
useContext<UseFederationStoreType>(FederationContext);
const { hostUrl, setOpen } = useContext<UseAppStoreType>(AppContext);
const { setOpen } = useContext<UseAppStoreType>(AppContext);
const theme = useTheme();
const [pageSize, setPageSize] = useState<number>(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,