ソースを参照

fix submit button styles

Abhinav 3 年 前
コミット
ccc00a40a1
2 ファイル変更3 行追加2 行削除
  1. 1 1
      src/components/SubmitButton.tsx
  2. 2 1
      src/themes/darkThemeOptions.tsx

+ 1 - 1
src/components/SubmitButton.tsx

@@ -25,7 +25,7 @@ const SubmitButton: FC<ButtonProps<'button', SubmitButtonProps>> = ({
             disabled={loading || disabled}
             sx={{ my: 4, ...sx }}
             {...props}>
-            {loading ? <CircularProgress size={25} /> : buttonText}
+            {loading ? <CircularProgress size={20} /> : buttonText}
         </Button>
     );
 };

+ 2 - 1
src/themes/darkThemeOptions.tsx

@@ -95,6 +95,7 @@ const darkThemeOptions = createTheme({
                 root: {
                     textTransform: 'none',
                     padding: '12px 16px',
+                    borderRadius: '4px',
                 },
                 startIcon: {
                     marginRight: '12px',
@@ -162,7 +163,7 @@ const darkThemeOptions = createTheme({
         },
         button: {
             fontSize: '16px',
-            lineHeight: '20px',
+            lineHeight: '19.36px',
             fontWeight: 600,
         },
         title: {