Explorar o código

fix button styling

AykutSarac %!s(int64=2) %!d(string=hai) anos
pai
achega
c129790196
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/components/Button/index.tsx

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

@@ -23,7 +23,8 @@ const StyledButton = styled.button<{
   status: keyof typeof ButtonType;
   block: boolean;
 }>`
-  display: block;
+  display: flex;
+  align-items: center;
   background: ${({ status, theme }) => getButtonStatus(status, theme)};
   color: #ffffff;
   padding: 8px 16px;