Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Commit 05a96e8

Browse files
committed
💄 style(components): 优化组件边框圆角样式
- 移除 body 中不必要的 !important 边框圆角声明 - 为 main 区域添加底部圆角和相对定位,提升视觉一致性 - 为 toolbar 内容区域添加顶部圆角,统一整体设计风格
1 parent 5efffeb commit 05a96e8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/renderer/components/Home/index.module.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
.body {
1212
flex: 1;
1313
height: 0;
14-
margin: 0 4px 4px;
1514
overflow: hidden;
16-
border-radius: var(--base-radius) !important;
15+
border-radius: var(--base-radius);
1716
position: relative;
1817
display: flex;
1918
flex-direction: column;
@@ -24,7 +23,9 @@
2423
.main {
2524
flex: 1;
2625
height: 0;
27-
overflow: auto;
26+
overflow-y: auto;
2827
background-color: var(--background-color);
2928
padding-bottom: 80px;
29+
border-radius: 0 0 var(--base-radius) var(--base-radius);
30+
position: relative;
3031
}

src/renderer/components/Toolbar/index.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.content {
22
background-color: var(--background-color);
3+
border-radius: var(--base-radius) var(--base-radius) 0 0;
34
}
45
.bar {
56
display: flex;

0 commit comments

Comments
 (0)