Fix payment methods as icons memo

This commit is contained in:
Reckless_Satoshi 2023-04-26 02:45:14 -07:00
parent e878299ae8
commit db5548ecca
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ const BookTable = ({
// all sizes in 'em'
const [fontSize, defaultPageSize, height] = useMemo(() => {
const fontSize = theme.typography.fontSize;
const verticalHeightFrame = 3.25 + (showControls ? 3.7 : 0) + (showFooter ? 2.35 : 0);
const verticalHeightFrame = 3.25 + (showControls ? 3.7 : 0.35) + (showFooter ? 2.35 : 0);
const verticalHeightRow = 3.25;
const defaultPageSize = Math.max(
Math.floor(

View File

@ -89,7 +89,7 @@ const StringAsIcons: React.FC = ({ othersText, verbose, size, text }: Props) =>
} else {
return rows;
}
}, []);
}, [text]);
return (
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>{parsedText}</div>