Skip to content

Commit 10cc2e0

Browse files
committed
Make debug section dropdown
1 parent 5a4d8eb commit 10cc2e0

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

frontend/src/App.svelte

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,6 @@
10381038
<input type="checkbox" bind:checked={showCalibrationPoints} />
10391039
Show Calibration Points
10401040
</label>
1041-
<div class="settings-separator"></div>
10421041
<details class="debug-details" bind:open={showDebugSection}>
10431042
<summary>Debug</summary>
10441043
<div class="debug-section">
@@ -1264,20 +1263,26 @@
12641263
12651264
.debug-details {
12661265
width: 100%;
1266+
border: 1px solid var(--border-default);
1267+
border-radius: var(--radius-md);
1268+
background-color: var(--btn-default-bg);
1269+
box-shadow: var(--shadow-sm);
12671270
}
12681271
12691272
.debug-details summary {
12701273
padding: 8px 12px;
12711274
font-size: 14px;
12721275
font-weight: 500;
12731276
color: var(--text-primary);
1274-
background-color: var(--btn-default-bg);
1275-
border: 1px solid var(--border-default);
1276-
border-radius: var(--radius-md);
1277-
box-shadow: var(--shadow-sm);
12781277
cursor: pointer;
12791278
list-style: none;
1280-
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
1279+
border-radius: var(--radius-md);
1280+
transition: background-color 0.15s ease;
1281+
}
1282+
1283+
.debug-details[open] summary {
1284+
border-bottom: 1px solid var(--border-muted);
1285+
border-radius: var(--radius-md) var(--radius-md) 0 0;
12811286
}
12821287
12831288
.debug-details summary::-webkit-details-marker {
@@ -1298,15 +1303,13 @@
12981303
12991304
.debug-details summary:hover {
13001305
background-color: var(--btn-default-hover);
1301-
border-color: #484f58;
1302-
box-shadow: 0 3px 10px rgba(0,0,0,0.4);
13031306
}
13041307
13051308
.debug-section {
13061309
display: flex;
13071310
flex-direction: column;
13081311
gap: 10px;
1309-
margin-top: 10px;
1312+
padding: 10px;
13101313
}
13111314
13121315
.settings-separator {

0 commit comments

Comments
 (0)