فهرست منبع

fix button styling

AykutSarac 2 سال پیش
والد
کامیت
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;
   block: boolean;
 }>`
-  display: block;
+  display: flex;
+  align-items: center;
   background: ${({ status, theme }) => getButtonStatus(status, theme)};
   color: #ffffff;
   padding: 8px 16px;