diff options
author | bobzel <zzzman@gmail.com> | 2022-08-08 11:48:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-08-08 11:48:27 -0400 |
commit | 2a1d6793d33d9c72295d23965aefd23f2004bbcb (patch) | |
tree | 828f5dac19e67b7a1bb0bcffaff22afacde143a8 /src/client/views/nodes/DocumentLinksButton.tsx | |
parent | 26670c8b9eb6e2fd981c3a0997bff5556b60504b (diff) |
cleaning up link ui. linkPreviews (not from linkMenu) have an edit button. link lines work when in lightboxview.
Diffstat (limited to 'src/client/views/nodes/DocumentLinksButton.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentLinksButton.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index 5939d1680..a37de7f69 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -307,7 +307,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp <div className="documentLinksButton-wrapper" style={{ - transform: this.props.InMenu ? undefined : `scale(${this.props.scaling})`, + transform: `scale(${this.props.scaling?.() || 1})`, }}> {(this.props.InMenu && (DocumentLinksButton.StartLink || this.props.StartLink)) || (!DocumentLinksButton.LinkEditorDocView && !this.props.InMenu) ? ( <Tooltip title={<div className="dash-tooltip">{title}</div>}>{this.linkButtonInner}</Tooltip> |