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' ? (
|
||||
<PageName pageName={id} />
|
||||
) : (
|
||||
<span className="inline-flex items-center">
|
||||
<span className="block-link-reference-row">
|
||||
<Breadcrumb levelLimit={1} blockId={id} endSeparator />
|
||||
<BlockReference blockId={id} />
|
||||
</span>
|
||||
|
|
|
@ -1144,3 +1144,9 @@ button.tl-shape-links-panel-item-remove-button {
|
|||
@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}
|
||||
/>
|
||||
)}
|
||||
{hoveredShape && hoveredShape !== singleSelectedShape && components.QuickLinks && (
|
||||
{hoveredShape && components.QuickLinks && (
|
||||
<QuickLinksContainer hidden={false} bounds={hoveredShape.bounds} shape={hoveredShape} />
|
||||
)}
|
||||
{brush && components.Brush && <components.Brush bounds={brush} />}
|
||||
|
|
Loading…
Reference in New Issue