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 14:36:48 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-06 14:36:48 +0800
commit6d788ba96d611d580605b87d0e3658f61c57f46e (patch)
tree30ca83897206402a1d22cea4f6a9e0fc88231c03 /src/client/views/PropertiesButtons.tsx
parent4bd5443171f028790ca1172a7bb60faa0355070f (diff)
small ui updates for uniformity
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r--src/client/views/PropertiesButtons.tsx9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx
index 29afd447f..642476bc3 100644
--- a/src/client/views/PropertiesButtons.tsx
+++ b/src/client/views/PropertiesButtons.tsx
@@ -245,7 +245,7 @@ export class PropertiesButtons extends React.Component<{}, {}> {
}
return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{"Pin with this view"}</div></>}>
<div className="propertiesButtons-linker"
- style={{ backgroundColor: "white", color: "black" }}
+ style={{ backgroundColor: "black", color: "white" }}
onClick={e => {
if (targetDoc) {
DockedFrameRenderer.PinDoc(targetDoc, false);
@@ -259,8 +259,13 @@ export class PropertiesButtons extends React.Component<{}, {}> {
activeDoc.presPinViewScale = scale;
}
}}>
- <div style={{ position: 'absolute', fontSize: 25, fontWeight: 700, transform: 'translate(42%, -7px)', color: 'rgba(0,0,0,0.2)' }}>V</div>
<FontAwesomeIcon className="documentdecorations-icon" size="sm" icon="map-pin" />
+ <div style={{ position: 'relative', fontSize: 25, fontWeight: 700, transform: 'translate(42%, -7px)', color: 'rgba(0,0,0,0.2)' }}>V</div>
+ <div className="propertiesButtons-title" style={{
+ backgroundColor: "black",
+ color: "white"
+ }}
+ >{"Pin with view"}</div>
</div></Tooltip>;
}