diff options
author | bobzel <zzzman@gmail.com> | 2020-09-18 09:41:46 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-18 09:41:46 -0400 |
commit | 0906ae0a0072ba794e00a2ffcb3be8c0746a7286 (patch) | |
tree | 0bf831329d4c5d67db16ed89c5dd525e32d52312 /src/client/views/DocumentButtonBar.tsx | |
parent | febc90a749df74a59cadcf18b178c0b5c6863dca (diff) |
fixed pinWithView icon
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index b4b46d8d9..575ebaf3b 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -195,8 +195,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV @computed get pinWithViewButton() { - const presPinWithViewIcon = <img src={`/assets/${"pinWithView.png"}`} - style={{ width: 17, transform: 'translate(0, 1px)' }} />; + const presPinWithViewIcon = <img src="/assets/pinWithView.png" style={{ margin: "auto", width: 17, transform: 'translate(0, 1px)' }} />; const targetDoc = this.view0?.props.Document; return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{"Pin with current view"}</div></>}> <div className="documentButtonBar-linker" |