Skip to content

Commit e90d46e

Browse files
committed
indent collapsed settings
1 parent a83d8da commit e90d46e

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
225225
Automatically create and edit files without requiring approval
226226
</p>
227227
{alwaysAllowWrite && (
228-
<div style={{ marginTop: 10 }}>
228+
<div
229+
style={{
230+
marginTop: 10,
231+
paddingLeft: 10,
232+
borderLeft: "2px solid var(--vscode-button-background)",
233+
}}>
229234
<div style={{ display: "flex", alignItems: "center", gap: "10px" }}>
230235
<input
231236
type="range"
@@ -277,7 +282,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
277282
Automatically retry failed API requests when server returns an error response
278283
</p>
279284
{alwaysApproveResubmit && (
280-
<div style={{ marginTop: 10 }}>
285+
<div
286+
style={{
287+
marginTop: 10,
288+
paddingLeft: 10,
289+
borderLeft: "2px solid var(--vscode-button-background)",
290+
}}>
281291
<div style={{ display: "flex", alignItems: "center", gap: "10px" }}>
282292
<input
283293
type="range"
@@ -329,7 +339,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
329339
</p>
330340

331341
{alwaysAllowExecute && (
332-
<div style={{ marginTop: 10 }}>
342+
<div
343+
style={{
344+
marginTop: 10,
345+
paddingLeft: 10,
346+
borderLeft: "2px solid var(--vscode-button-background)",
347+
}}>
333348
<span style={{ fontWeight: "500" }}>Allowed Auto-Execute Commands</span>
334349
<p
335350
style={{
@@ -489,7 +504,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
489504
</p>
490505
</div>
491506
{soundEnabled && (
492-
<div style={{ marginLeft: 0 }}>
507+
<div
508+
style={{
509+
marginLeft: 0,
510+
paddingLeft: 10,
511+
borderLeft: "2px solid var(--vscode-button-background)",
512+
}}>
493513
<div style={{ display: "flex", alignItems: "center", gap: "5px" }}>
494514
<span style={{ fontWeight: "500", minWidth: "100px" }}>Volume</span>
495515
<input
@@ -565,7 +585,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
565585
</p>
566586

567587
{diffEnabled && (
568-
<div style={{ marginTop: 10 }}>
588+
<div
589+
style={{
590+
marginTop: 10,
591+
paddingLeft: 10,
592+
borderLeft: "2px solid var(--vscode-button-background)",
593+
}}>
569594
<div style={{ display: "flex", alignItems: "center", gap: "5px" }}>
570595
<span style={{ color: "var(--vscode-errorForeground)" }}>⚠️</span>
571596
<VSCodeCheckbox

0 commit comments

Comments
 (0)