aboutsummaryrefslogtreecommitdiff
path: root/src/client/views
diff options
context:
space:
mode:
authorHannah Chow <hannah_chow@brown.edu>2019-03-10 22:58:36 -0400
committerHannah Chow <hannah_chow@brown.edu>2019-03-10 22:58:36 -0400
commitd9a45fe0ed67ee5807a5c5e99079f99b88776b51 (patch)
tree43908dc4e570b046f249502675c6120352049ba9 /src/client/views
parentce0d749c291609b7acca6db490bfcc131cf3996d (diff)
fixed pdf bug
Diffstat (limited to 'src/client/views')
-rw-r--r--src/client/views/nodes/LinkBox.tsx2
-rw-r--r--src/client/views/nodes/LinkEditor.scss6
-rw-r--r--src/client/views/nodes/LinkEditor.tsx2
3 files changed, 9 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx
index fcfb2fcb5..25dc049b4 100644
--- a/src/client/views/nodes/LinkBox.tsx
+++ b/src/client/views/nodes/LinkBox.tsx
@@ -61,7 +61,7 @@ export class LinkBox extends React.Component<Props> {
render() {
return (
- <LinkEditor linkBox={this} />
+ <LinkEditor linkBox={this} linkDoc={this.props.linkDoc} />
// <div className="link-container">
// <div className="info-container">
// <div className="link-name">
diff --git a/src/client/views/nodes/LinkEditor.scss b/src/client/views/nodes/LinkEditor.scss
index b5db19b65..27446b2f2 100644
--- a/src/client/views/nodes/LinkEditor.scss
+++ b/src/client/views/nodes/LinkEditor.scss
@@ -13,4 +13,10 @@
.description-input {
height: 100px;
font-size: 10px;
+}
+
+.save-button {
+ width: 100px;
+ height: 30px;
+ background-color: #2B6091;
} \ No newline at end of file
diff --git a/src/client/views/nodes/LinkEditor.tsx b/src/client/views/nodes/LinkEditor.tsx
index 38cfef239..405574598 100644
--- a/src/client/views/nodes/LinkEditor.tsx
+++ b/src/client/views/nodes/LinkEditor.tsx
@@ -13,6 +13,7 @@ import { LinkBox } from "./LinkBox";
interface Props {
linkBox: LinkBox;
+ linkDoc: Document;
}
@observer
@@ -30,6 +31,7 @@ export class LinkEditor extends React.Component<Props> {
<div className="edit-container">
<input className="name-input" type="text" placeholder="Name..."></input>
<input className="description-input" type="text" placeholder="Description"></input>
+ <div className="save-button"></div>
</div>
)