mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-21 12:49:02 +00:00
Add extra row to coordinator table
This commit is contained in:
parent
085e9ccd48
commit
399671d709
@ -24,7 +24,7 @@ const SettingsPage = (): JSX.Element => {
|
||||
<SettingsForm />
|
||||
</Grid>
|
||||
<Grid item>
|
||||
<FederationTable maxHeight={14} />
|
||||
<FederationTable maxHeight={18} />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Paper>
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user