Skip to content

Commit f50fd55

Browse files
samejrericallam
authored andcommitted
Add divide between heads and inspector content
1 parent 44c277c commit f50fd55

File tree

1 file changed

+10
-6
lines changed
  • apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam

1 file changed

+10
-6
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function SpanBody({
215215

216216
return (
217217
<div className="grid h-full max-h-full grid-rows-[2.5rem_1fr] overflow-hidden bg-background-bright">
218-
<div className="flex items-center justify-between gap-2 overflow-x-hidden px-3">
218+
<div className="flex items-center justify-between gap-2 overflow-x-hidden border-b border-grid-bright px-3 pr-2">
219219
<div className="flex items-center gap-1 overflow-x-hidden">
220220
<RunIcon
221221
name={span.style?.icon}
@@ -229,9 +229,11 @@ function SpanBody({
229229
{runParam && closePanel && (
230230
<Button
231231
onClick={closePanel}
232-
variant="minimal/medium"
233-
LeadingIcon={ExitIcon}
232+
variant="minimal/small"
233+
TrailingIcon={ExitIcon}
234234
shortcut={{ key: "esc" }}
235+
shortcutPosition="before-trailing-icon"
236+
className="pl-1"
235237
/>
236238
)}
237239
</div>
@@ -294,7 +296,7 @@ function RunBody({
294296

295297
return (
296298
<div className="grid h-full max-h-full grid-rows-[2.5rem_2rem_1fr_3.25rem] overflow-hidden bg-background-bright">
297-
<div className="flex items-center justify-between gap-2 overflow-x-hidden px-3">
299+
<div className="flex items-center justify-between gap-2 overflow-x-hidden px-3 pr-2">
298300
<div className="flex items-center gap-1 overflow-x-hidden">
299301
<RunIcon
300302
name={run.isCached ? "task-cached" : "task"}
@@ -311,9 +313,11 @@ function RunBody({
311313
{runParam && closePanel && (
312314
<Button
313315
onClick={closePanel}
314-
variant="minimal/medium"
315-
LeadingIcon={ExitIcon}
316+
variant="minimal/small"
317+
TrailingIcon={ExitIcon}
316318
shortcut={{ key: "esc" }}
319+
shortcutPosition="before-trailing-icon"
320+
className="pl-1"
317321
/>
318322
)}
319323
</div>

0 commit comments

Comments
 (0)