AykutSarac 2 лет назад
Родитель
Сommit
c129790196
1 измененных файлов с 2 добавлено и 1 удалено
  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;
   status: keyof typeof ButtonType;
   block: boolean;
   block: boolean;
 }>`
 }>`
-  display: block;
+  display: flex;
+  align-items: center;
   background: ${({ status, theme }) => getButtonStatus(status, theme)};
   background: ${({ status, theme }) => getButtonStatus(status, theme)};
   color: #ffffff;
   color: #ffffff;
   padding: 8px 16px;
   padding: 8px 16px;