Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Reflection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function Reflection({ reflection }: ReflectionProps) {
{hasComment(reflection.comment) && <Comment root comment={reflection.comment} />}

{sinceContent && (
<div className="tsd-comment-since">
<div className="tsd-comment-since tsd-comment-since-root">
<Markdown content={displayPartsToMarkdown(sinceContent)} />
</div>
)}
Expand Down
6 changes: 6 additions & 0 deletions src/components/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ html[data-theme='light'] .tsd-panel-content {
border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Top-level symbols render the tag inline above other sections, so it needs a
bottom margin to sit evenly; member tags close out a panel and don't. */
.tsd-comment-since-root {
margin-bottom: 1em;
}

.tsd-comment-root {
margin-top: 0;
margin-bottom: var(--tsd-spacing-vertical-full);
Expand Down
Loading