Browse Source

updated submit button styles

Abhinav-grd 4 years ago
parent
commit
71c71bf129
2 changed files with 4 additions and 0 deletions
  1. 1 0
      src/components/SubmitButton.tsx
  2. 3 0
      src/pages/_app.tsx

+ 1 - 0
src/components/SubmitButton.tsx

@@ -7,6 +7,7 @@ interface Props {
 }
 const SubmitButton = ({ loading, buttonText }: Props) => (
     <Button
+        className="submitButton"
         variant="outline-success"
         type="submit"
         block

+ 3 - 0
src/pages/_app.tsx

@@ -249,6 +249,9 @@ const GlobalStyles = createGlobalStyle`
         text-decoration: none;
         background-color: #e9ecef;
     }
+    .submitButton:hover > .spinner-border{
+        color:white;
+    }
 `;
 
 const Image = styled.img`