Browse Source

Merge pull request #97 from Tumao727/bugfix/style-adjust

update index param font size
Tumao 4 years ago
parent
commit
b5c85c8730
1 changed files with 2 additions and 4 deletions
  1. 2 4
      client/src/pages/structure/Structure.tsx

+ 2 - 4
client/src/pages/structure/Structure.tsx

@@ -33,8 +33,6 @@ const useStyles = makeStyles((theme: Theme) => ({
 
   paramWrapper: {
     '& .param': {
-      padding: theme.spacing(0.5),
-
       marginRight: theme.spacing(2),
 
       '& .key': {
@@ -114,10 +112,10 @@ const Structure: FC<{
                 {f._indexParameterPairs?.length > 0 ? (
                   f._indexParameterPairs.map(p => (
                     <span key={p.key} className="param">
-                      <Typography variant="caption" className="key">
+                      <Typography variant="body1" className="key">
                         {`${p.key}:`}
                       </Typography>
-                      <Typography variant="caption" className="value">
+                      <Typography variant="body1" className="value">
                         {p.value}
                       </Typography>
                     </span>