From 35cc98f11150d068032df597e542c62480249e04 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期一, 24 八月 2026 09:48:58 +0800
Subject: [PATCH] fix 修正页面高度问题

---
 src/packages/styles/src/antd/index.css |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/packages/styles/src/antd/index.css b/src/packages/styles/src/antd/index.css
index 03b9e9e..c95784b 100644
--- a/src/packages/styles/src/antd/index.css
+++ b/src/packages/styles/src/antd/index.css
@@ -8,6 +8,15 @@
 }
 
 .ant-btn {
+  border-radius: calc(var(--radius) - 0.125rem);
+  font-weight: 500;
+  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
+
+  &:focus-visible {
+    outline: 2px solid hsl(var(--primary) / 35%);
+    outline-offset: 2px;
+  }
+
   .anticon {
     display: inline-flex;
   }
@@ -22,7 +31,24 @@
   }
 }
 
+.ant-input,
+.ant-input-affix-wrapper,
+.ant-input-number,
+.ant-select-selector,
+.ant-picker {
+  border-color: hsl(var(--input));
+  border-radius: calc(var(--radius) - 0.125rem);
+
+  &:focus,
+  &:focus-within {
+    border-color: hsl(var(--primary));
+    box-shadow: 0 0 0 2px hsl(var(--primary) / 16%);
+  }
+}
+
 .ant-tag {
+  border-radius: calc(var(--radius) - 0.2rem);
+
   > svg {
     display: inline-block;
   }

--
Gitblit v1.9.3