From e6de6dd559b482b9ac90dc9417c77c1f3f54b89e Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sat, 6 Jun 2026 07:40:36 -0700 Subject: [PATCH] fix(dashboard): tighten skill detail dialog spacing (#40419) The skill detail dialog (Skills hub browser) had several awkward spacing/placement issues: - description and identifier crammed together with no breathing room (-mt-1 pulled the description tight to the header) - the identifier line touched the action-row border - Install was stranded far right with a large empty void in the middle of the action row - the SKILL.md
 opened with a leading blank line

Fixes:
- group description + identifier in a spaced flex-col block (mt-1, gap-1)
- give the action row mt-3 + py-2.5 so it separates from the meta block
- move the repo link into the right-side group with Install (ml-auto,
  gap-3) so the row reads left=tabs / right=repo+install, no middle void
- mt-3 on the body for consistent vertical rhythm
- trim() the SKILL.md content so it starts at the first real line
---
 web/src/pages/SkillsPage.tsx | 42 +++++++++++++++++++-----------------
 1 file changed, 22 insertions(+), 20 deletions(-)

diff --git a/web/src/pages/SkillsPage.tsx b/web/src/pages/SkillsPage.tsx
index 5131cc3e877..c21a3e481d0 100644
--- a/web/src/pages/SkillsPage.tsx
+++ b/web/src/pages/SkillsPage.tsx
@@ -1187,13 +1187,15 @@ function SkillDetailDialog({
           
         
 
-        

{result.description}

-

- {result.identifier} -

+
+

{result.description}

+

+ {result.identifier} +

+
{/* Action row */} -
+
- {result.repo && ( - - - {result.repo} - - )} -
+
+ {result.repo && ( + + + {result.repo} + + )} {installed ? (
{/* Body */} -
+
{tab === "readme" ? ( previewLoading ? (
) : preview ? ( -
+
{preview.tags.length > 0 && (
{preview.tags.map((tag) => ( @@ -1275,7 +1277,7 @@ function SkillDetailDialog({
)}
-                  {preview.skill_md || "(SKILL.md is empty)"}
+                  {(preview.skill_md || "").trim() || "(SKILL.md is empty)"}
                 
) : (