mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 07:16:51 +00:00
style: tighten settings and account menu
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
z-index: 12;
|
z-index: 12;
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: var(--bg-secondary);
|
background: var(--bg-secondary-solid, var(--bg-primary));
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 14px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@@ -46,14 +46,6 @@
|
|||||||
.settings-title-block {
|
.settings-title-block {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 6px;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 13px;
|
|
||||||
color: var(--text-tertiary);
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-actions {
|
.settings-actions {
|
||||||
|
|||||||
@@ -2098,7 +2098,6 @@ function SettingsPage({ onClose }: SettingsPageProps = {}) {
|
|||||||
<div className="settings-header">
|
<div className="settings-header">
|
||||||
<div className="settings-title-block">
|
<div className="settings-title-block">
|
||||||
<h1>设置</h1>
|
<h1>设置</h1>
|
||||||
<p>在这里集中调整 WeFlow 的功能、外观与数据行为。</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="settings-actions">
|
<div className="settings-actions">
|
||||||
<button className="btn btn-secondary" onClick={handleTestConnection} disabled={isLoading || isTesting}>
|
<button className="btn btn-secondary" onClick={handleTestConnection} disabled={isLoading || isTesting}>
|
||||||
|
|||||||
Reference in New Issue
Block a user