From e703ad6350a65403b0693542069199aa3a777dfd Mon Sep 17 00:00:00 2001 From: bob Date: Mon, 16 Dec 2019 10:46:32 -0500 Subject: fixed styling of freeformview placeholder --- .../collections/collectionFreeForm/CollectionFreeFormView.scss | 8 ++++++++ .../collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss index f8a9e49d8..45eefe6d3 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss @@ -28,6 +28,14 @@ // touch action none means that the browser will handle none of the touch actions. this allows us to implement our own actions. touch-action: none; + .collectionfreeformview-placeholderSpan { + font-size: 32; + background: gray; + margin: auto; + display: flex; + text-align: center; + } + .collectionfreeformview>.jsx-parser { position: inherit; height: 100%; diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index fc507bf5e..67f7dd602 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -884,7 +884,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { } @computed get placeholder() { return
- {this.props.Document.title}>
; + {this.props.Document.title}; } @computed get marqueeView() { return