浏览代码

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;