Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qjclaw-dmg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AI-甘富林
qjclaw-dmg
Commits
105938fc
Commit
105938fc
authored
May 11, 2026
by
edy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui): align settings cards and truncate long config values
parent
c8f666ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
SettingsPanels.tsx
apps/ui/src/features/settings/SettingsPanels.tsx
+3
-1
settings.css
apps/ui/src/styles/settings.css
+18
-2
No files found.
apps/ui/src/features/settings/SettingsPanels.tsx
View file @
105938fc
...
...
@@ -117,8 +117,10 @@ export function SettingsPanels({
<
label
className=
"settings-input-label"
>
<
span
className=
"settings-input-label-text"
>
龙虾密钥
</
span
>
<
input
className=
"settings-truncated-input"
type=
"password"
value=
{
drafts
.
lobsterKey
}
title=
{
drafts
.
lobsterKey
||
undefined
}
placeholder=
{
workspaceApiKeyConfigured
?
"输入新的龙虾密钥或更新绑定"
:
"请输入龙虾密钥"
}
onChange=
{
(
event
)
=>
setters
.
setLobsterKey
(
event
.
target
.
value
)
}
/>
...
...
@@ -130,7 +132,7 @@ export function SettingsPanels({
<
span
className=
"settings-input-label-text"
>
工作目录
</
span
>
<
div
className=
"workspace-directory-card settings-basic-directory-card"
>
<
div
className=
"workspace-directory-panel settings-basic-directory-panel"
>
<
strong
className=
"workspace-directory-path"
>
{
displayedWorkspacePath
}
</
strong
>
<
strong
className=
"workspace-directory-path"
title=
{
displayedWorkspacePath
}
>
{
displayedWorkspacePath
}
</
strong
>
</
div
>
{
hasPendingWorkspacePathChange
?
(
<
div
className=
"workspace-directory-draft-row"
>
...
...
apps/ui/src/styles/settings.css
View file @
105938fc
...
...
@@ -13,7 +13,7 @@
min-height
:
0
;
display
:
grid
;
gap
:
10px
;
grid-template-columns
:
minmax
(
0
,
1.15
fr
)
minmax
(
380px
,
0.85
fr
);
grid-template-columns
:
repeat
(
2
,
minmax
(
0
,
1
fr
)
);
grid-template-rows
:
minmax
(
236px
,
0.58
fr
)
minmax
(
0
,
1.42
fr
);
grid-template-areas
:
"basic-config xhs-feishu"
...
...
@@ -277,6 +277,12 @@
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.92
);
}
.settings-truncated-input
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.settings-input-label
input
:focus-visible
,
.settings-input-label
textarea
:focus-visible
,
.settings-input-label
select
:focus-visible
{
...
...
@@ -534,6 +540,16 @@
align-items
:
center
;
}
.settings-basic-directory-panel
.workspace-directory-path
{
display
:
block
;
min-width
:
0
;
width
:
100%
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
word-break
:
normal
;
}
.workspace-directory-eyebrow
{
font-size
:
10px
;
letter-spacing
:
0.16em
;
...
...
@@ -561,7 +577,7 @@
@media
(
max-width
:
1180px
)
{
.settings-console-grid
{
grid-template-columns
:
minmax
(
0
,
1.1
fr
)
minmax
(
340px
,
0.9
fr
);
grid-template-columns
:
repeat
(
2
,
minmax
(
0
,
1
fr
)
);
grid-template-rows
:
minmax
(
164px
,
auto
)
minmax
(
0
,
1
fr
);
grid-template-areas
:
"basic-config xhs-feishu"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment