diff options
author | bobzel <zzzman@gmail.com> | 2020-10-25 23:36:24 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-25 23:36:24 -0400 |
commit | f4ab30f9a939587ddebfb50f55d999b458954bfb (patch) | |
tree | da63a7a5afa12888515fd81cd843413643b1ce4d /src/client/views/nodes/DocumentLinksButton.tsx | |
parent | 71ed3b7e1a817da7f2aca20da678aaaa4feda3b6 (diff) |
fixed placement of link button for scaled text views. fixed document decorations for ContentFittingDocViews & fitWidth items. Fixed documentDeocrations for CollectionMulticolumn view.
Diffstat (limited to 'src/client/views/nodes/DocumentLinksButton.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentLinksButton.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index ddfb3cc34..a167f2a23 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -243,13 +243,13 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp src={`/assets/${"link.png"}`} />; const linkButton = <div className="documentLinksButton-cont" ref={this._linkButton} style={{ - minWidth: 20, minHeight: 20, position: "absolute", left: this.props.Offset?.[0], top: this.props.Offset?.[1], right: this.props.Offset?.[2], bottom: this.props.Offset?.[3] }}> <div className={"documentLinksButton"} style={{ backgroundColor: this.props.InMenu ? "" : "#add8e6", color: this.props.InMenu ? "white" : "black", - width: this.props.InMenu ? "20px" : "30px", height: this.props.InMenu ? "20px" : "30px", fontWeight: "bold" + width: this.props.InMenu ? "20px" : "30px", + height: this.props.InMenu ? "20px" : "30px", }} onPointerDown={this.onLinkButtonDown} onClick={this.onLinkClick} // onPointerLeave={action(() => LinkDocPreview.LinkInfo = undefined)} |