소스 검색

updated submit button styles

Abhinav-grd 4 년 전
부모
커밋
71c71bf129
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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`