mirror of https://github.com/logseq/logseq
fix: block-ref in BlockLink displaying issue
parent
68ea04af52
commit
ee445b8f70
|
@ -43,7 +43,7 @@ export const BlockLink = ({ id }: { id: string }) => {
|
||||||
{linkType === 'P' ? (
|
{linkType === 'P' ? (
|
||||||
<PageName pageName={id} />
|
<PageName pageName={id} />
|
||||||
) : (
|
) : (
|
||||||
<span className="inline-flex items-center">
|
<span className="block-link-reference-row">
|
||||||
<Breadcrumb levelLimit={1} blockId={id} endSeparator />
|
<Breadcrumb levelLimit={1} blockId={id} endSeparator />
|
||||||
<BlockReference blockId={id} />
|
<BlockReference blockId={id} />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -1144,3 +1144,9 @@ button.tl-shape-links-panel-item-remove-button {
|
||||||
@apply bg-indigo-500;
|
@apply bg-indigo-500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.block-link-reference-row {
|
||||||
|
> * {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -165,7 +165,7 @@ export const Canvas = observer(function Renderer<S extends TLReactShape>({
|
||||||
shape={selectedOrHooveredShape}
|
shape={selectedOrHooveredShape}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{hoveredShape && hoveredShape !== singleSelectedShape && components.QuickLinks && (
|
{hoveredShape && components.QuickLinks && (
|
||||||
<QuickLinksContainer hidden={false} bounds={hoveredShape.bounds} shape={hoveredShape} />
|
<QuickLinksContainer hidden={false} bounds={hoveredShape.bounds} shape={hoveredShape} />
|
||||||
)}
|
)}
|
||||||
{brush && components.Brush && <components.Brush bounds={brush} />}
|
{brush && components.Brush && <components.Brush bounds={brush} />}
|
||||||
|
|
Loading…
Reference in New Issue