1
0
Fork 0

fix(wiki): remove callout icon top margin and first-child spacing

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jason Fraley 2026-09-06 23:29:46 -04:00
parent 43e2a15197
commit 03c76154da
2 changed files with 6 additions and 1 deletions

View file

@ -536,6 +536,11 @@
padding: 0.75rem 1rem 0.75rem 2.5rem; padding: 0.75rem 1rem 0.75rem 2.5rem;
} }
.wiki-markdown .note > :first-child,
.wiki-markdown .warning > :first-child {
margin-top: 0;
}
.wiki-markdown .note .callout-icon { .wiki-markdown .note .callout-icon {
position: absolute; position: absolute;
left: 0.75rem; left: 0.75rem;

View file

@ -128,7 +128,7 @@ export const wikiMarkdownComponents: Components = {
return ( return (
<div className={className} data-directive={directiveName}> <div className={className} data-directive={directiveName}>
{isCallout && <Icon className="callout-icon mt-0.5 size-4 shrink-0" aria-hidden="true" />} {isCallout && <Icon className="callout-icon size-4 shrink-0" aria-hidden="true" />}
{children} {children}
</div> </div>
); );