aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionLinearView.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-03 18:47:48 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-03 18:47:48 -0500
commited74b8b6d6c65a24803c4e0e68aa192a750d60fa (patch)
tree237fc7ff35083d17f97a484be4926354ff8edffa /src/client/views/collections/CollectionLinearView.tsx
parentee7f8a5798bd142246e97c2b347695295ff89c35 (diff)
restructure
Diffstat (limited to 'src/client/views/collections/CollectionLinearView.tsx')
-rw-r--r--src/client/views/collections/CollectionLinearView.tsx32
1 files changed, 5 insertions, 27 deletions
diff --git a/src/client/views/collections/CollectionLinearView.tsx b/src/client/views/collections/CollectionLinearView.tsx
index 7635dac24..7cbe5c19d 100644
--- a/src/client/views/collections/CollectionLinearView.tsx
+++ b/src/client/views/collections/CollectionLinearView.tsx
@@ -149,36 +149,14 @@ export class CollectionLinearView extends CollectionSubView(LinearDocument) {
</div>;
})}
</div>
- {DocumentLinksButton.StartLink ? <span style={{
- background: backgroundColor === color ? "black" : backgroundColor,
- paddingRight: "14px",
- height: "35",
- transform: "translate3d(6px, 5px, 0px)",
- paddingTop: "6.5px",
- paddingBottom: "7px",
- paddingLeft: "5px"
+ {DocumentLinksButton.StartLink ? <span className="bottomPopup-background" style={{
+ background: backgroundColor === color ? "black" : backgroundColor
}}
onPointerDown={e => e.stopPropagation()} >
- <span style={{
- display: "inline",
- whiteSpace: "nowrap",
- paddingLeft: "8px",
- paddingRight: "4px",
- verticalAlign: "middle",
- fontSize: "12.5px"
- }}>
+ <span className="bottomPopup-text" >
Creating link from: {DocumentLinksButton.StartLink.title} </span>
- <span onClick={this.exitLongLinks}
- style={{
- display: "inline",
- whiteSpace: "nowrap",
- paddingLeft: "8px",
- paddingRight: "8px",
- verticalAlign: "middle",
- backgroundColor: "lightgrey",
- borderRadius: "5.5px",
- color: "black"
- }}>Exit</span>
+ <span className="bottomPopup-exit" onClick={this.exitLongLinks}
+ >Exit</span>
{/* <FontAwesomeIcon icon="times-circle" size="lg" style={{ color: "red" }}
onClick={this.exitLongLinks} /> */}