diff options
| author | bob <bcz@cs.brown.edu> | 2019-12-16 10:52:34 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-12-16 10:52:34 -0500 |
| commit | 5241b4e7772b5caa10139c845eb6bc91f8827a12 (patch) | |
| tree | 5938852356aa09afa2c6855d73683d4f7a748c73 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | e703ad6350a65403b0693542069199aa3a777dfd (diff) | |
from last
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 67f7dd602..e9c3f6b0f 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -883,8 +883,9 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { return eles; } @computed get placeholder() { - return <div style={{ background: "gray", width: "100%", height: "100%", display: "flex", alignItems: "center" }}> - <span className="collectionfreeformview-placeholderSpan">{this.props.Document.title}</span></div>; + return <div className="collectionfreeformview-placeholder" style={{ background: this.Document.backgroundColor }}> + <span className="collectionfreeformview-placeholderSpan">{this.props.Document.title}</span> + </div>; } @computed get marqueeView() { return <MarqueeView {...this.props} extensionDoc={this.extensionDoc!} activeDocuments={this.getActiveDocuments} selectDocuments={this.selectDocuments} addDocument={this.addDocument} |
