Browse Source

style button

Aykut Saraç 3 years ago
parent
commit
9a51b7ae93
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/Button/index.tsx
  2. 1 1
      src/constants/globalStyle.ts

+ 1 - 1
src/components/Button/index.tsx

@@ -22,8 +22,8 @@ const StyledButton = styled.button<{ status: keyof typeof ButtonType }>`
   display: block;
   background: ${({ status, theme }) => getButtonStatus(status, theme)};
   color: ${({ theme }) => theme.FULL_WHITE};
-  cursor: pointer;
   padding: 8px 16px;
+  min-width: 60px;
 
   @media only screen and (max-width: 768px) {
     font-size: 18px;

+ 1 - 1
src/constants/globalStyle.ts

@@ -35,7 +35,6 @@ const GlobalStyle = createGlobalStyle`
 
   button {
     min-height: 32px;
-    min-width: 60px;
     border: none;
     border-radius: 5px;
     outline: none;
@@ -43,6 +42,7 @@ const GlobalStyle = createGlobalStyle`
     font-weight: 500;
     font-size: 14px;
     transition: 0.3s;
+    cursor: pointer;
     
 
     div {