mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Improvements to inline images in headings (#2829)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'gitbook': patch
|
||||
---
|
||||
|
||||
Improvements to inline images in headings
|
||||
@@ -64,7 +64,16 @@ export function Heading(props: BlockProps<DocumentBlockHeading>) {
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
<div className={tcls('grid-area-1-1', 'z-[1]', textStyle.marginTop)}>
|
||||
<div
|
||||
className={tcls(
|
||||
'grid-area-1-1',
|
||||
'z-[1]',
|
||||
'justify-self-start',
|
||||
'text-left',
|
||||
textStyle.lineHeight,
|
||||
textStyle.marginTop,
|
||||
)}
|
||||
>
|
||||
<Inlines {...rest} context={context} nodes={block.nodes} ancestorInlines={[]} />
|
||||
</div>
|
||||
</Tag>
|
||||
|
||||
Reference in New Issue
Block a user