Skip to content

Commit d9fecd0

Browse files
committed
Enhanced node description layout with section header and consistent spacing
1 parent 4a78a47 commit d9fecd0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/GraphInspector.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,12 @@ const GraphInspector = ({
153153
</div>
154154

155155
{/* Description */}
156-
<div className={styles.description}>
157-
{nodeType.description}
156+
<hr className={styles.divider} />
157+
<div className={styles.section}>
158+
<div className={styles.sectionTitle}>Description</div>
159+
<div className={styles.description}>
160+
{nodeType.description}
161+
</div>
158162
</div>
159163

160164
<hr className={styles.divider} />

src/components/GraphInspector.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@
7676
border-bottom: 1px solid #ccc;
7777
}
7878

79-
.section {
80-
margin-bottom: 24px;
81-
}
82-
8379
.sectionTitle {
8480
font-weight: bold;
8581
margin-bottom: 12px;

0 commit comments

Comments
 (0)