Browse Source

style(ui): 调整全局antd按钮组件样式

dengdx 5 days ago
parent
commit
eed2b59e39
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/themes/theme.css

+ 5 - 0
src/themes/theme.css

@@ -36,3 +36,8 @@ background: var(--ant-scrollbar-thumb-hover, var(--ant-text-color));
   scrollbar-color: #888 #f0f0f0; /* thumb, track */
   scrollbar-width: thin;        /* auto | thin | none */
 }
+
+.ant-btn {
+  height: 1.5rem;      /* 用 rem 覆盖 , 原始硬编码24px */
+  padding: 0 1rem;
+}