aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocuLinkBox.scss
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-21 12:09:54 -0500
committerbob <bcz@cs.brown.edu>2020-02-21 12:09:54 -0500
commitee80ef34d8a9354c2bfbbf4b4c233832f2ea5e26 (patch)
treea4f9bf3dab0abc7a03ad4161aeb2a31c3ee0ef46 /src/client/views/nodes/DocuLinkBox.scss
parent8274233572d5ff299e13868c86bd2436f4c276fc (diff)
made double-click link editing for link anchors.
Diffstat (limited to 'src/client/views/nodes/DocuLinkBox.scss')
-rw-r--r--src/client/views/nodes/DocuLinkBox.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocuLinkBox.scss b/src/client/views/nodes/DocuLinkBox.scss
index 57c1a66e0..7b91b4f36 100644
--- a/src/client/views/nodes/DocuLinkBox.scss
+++ b/src/client/views/nodes/DocuLinkBox.scss
@@ -5,4 +5,20 @@
height: 25px;
border-radius: 20px;
pointer-events: all;
+ user-select: none;
+
+ .docuLinkBox-linkCloser {
+ position: absolute;
+ width: 18;
+ height: 18;
+ background: rgb(219, 21, 21);
+ top: -1px;
+ left: -1px;
+ border-radius: 5px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding-left: 2px;
+ padding-top: 1px;
+ }
} \ No newline at end of file