Skip to content

Commit

Permalink
style: border调整
Browse files Browse the repository at this point in the history
  • Loading branch information
song-xiao-lin committed Nov 13, 2023
1 parent 2945373 commit 6b52885
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions app/renderer/src/main/src/components/layout/FuncDomain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,11 @@ const GetUIOpSettingMenu = () => {
{
key: "new-codec",
label: "新版Codec"
}
},
{
key: "run-node",
label: "运行节点"
},
]
},
{type: "divider"},
Expand Down Expand Up @@ -988,15 +992,11 @@ const GetUIOpSettingMenu = () => {
children: [
{key: "reverse", label: "全局反连"},
{key: "agent", label: "系统代理"},
{key: "engineAgent", label: "引擎扫描代理"},
{key: "engineVar", label: "引擎环境变量"},
// {key: "engineAgent", label: "引擎扫描代理"},
// {key: "engineVar", label: "引擎环境变量"},
{key: "config-network", label: "全局网络配置"}
]
},
{
key: "run-node",
label: "运行节点"
},
{
key: "diagnose-network",
label: "网络诊断"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ export const GlobalState: React.FC<GlobalReverseStateProp> = React.memo((props)
overlayClassName={classNames(styles["global-state-popover"], ShowColorClass[state])}
placement={system === "Darwin" ? "bottomRight" : "bottomLeft"}
content={content}
visible={show}
visible={true}
onVisibleChange={(visible) => setShow(visible)}
>
<div className={classNames(styles["global-state-wrapper"], ShowColorClass[state])}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@
}

.run-node-list {
border-bottom: 1px solid var(--yakit-border-color);
.run-node-item {
padding-left: 43px;
padding-right: 8px;
Expand All @@ -196,6 +195,10 @@
}
}
}

.run-node-list + .body-info {
border-top: 1px solid var(--yakit-border-color);
}
}

.body-setting {
Expand Down

0 comments on commit 6b52885

Please sign in to comment.