aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesButtons.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-06 20:38:31 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-06 20:38:31 +0800
commit142011ffd5c9ca5aeed85ed8a74e5919e0e5a6dd (patch)
treeddcd6db1712cb14f0948f880c46f7736de4df65f /src/client/views/PropertiesButtons.tsx
parent557bcff59aaec470b045a01600b0c2a6e785c730 (diff)
audio auto play bug fix && some more commenting
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r--src/client/views/PropertiesButtons.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx
index 3392371de..55eb6c028 100644
--- a/src/client/views/PropertiesButtons.tsx
+++ b/src/client/views/PropertiesButtons.tsx
@@ -243,9 +243,8 @@ export class PropertiesButtons extends React.Component<{}, {}> {
const scale = targetDoc._viewScale;
}
return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{"Pin with this view"}</div></>} placement="top">
- <>
+ <div>
<div className="propertiesButtons-linker"
- style={{ backgroundColor: "black", color: "white" }}
onClick={e => {
if (targetDoc) {
DockedFrameRenderer.PinDoc(targetDoc, false);
@@ -262,8 +261,9 @@ export class PropertiesButtons extends React.Component<{}, {}> {
<FontAwesomeIcon className="documentdecorations-icon" size="lg" icon="map-pin" />
<div style={{ position: 'relative', fontSize: 25, fontWeight: 700, transform: 'translate(0, -20px)', color: 'rgba(250,250,250,0.5)' }}>V</div>
</div>
- <div className="propertiesButtons-title" style={{ backgroundColor: "black", color: "white" }}>{"View"}</div>
- </>
+
+ <div className="propertiesButtons-title">{"View"}</div>
+ </div>
</Tooltip>;
}