aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Templates.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-05-29 12:06:44 -0400
committerbob <bcz@cs.brown.edu>2019-05-29 12:06:44 -0400
commit732cc8c3aec072525535d246b1177181bbd3f7da (patch)
tree0319adf3a98306b64155719cd467a84be2a18be7 /src/client/views/Templates.tsx
parent7cd5d922930ba1eaed894c2b0a91e3edf4f08164 (diff)
improved stacking view and captions templates.
Diffstat (limited to 'src/client/views/Templates.tsx')
-rw-r--r--src/client/views/Templates.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx
index 303f3f3b8..0cd367bcb 100644
--- a/src/client/views/Templates.tsx
+++ b/src/client/views/Templates.tsx
@@ -42,8 +42,8 @@ export namespace Templates {
export const Caption = new Template("Caption", TemplatePosition.OutterBottom,
`<div>
<div style="height:100%; width:100%;position:absolute;">{layout}</div>
- <div id="screenSpace" style="top: 100%; font-size:14px; background:yellow; width:100%; position:absolute">
- <FormattedTextBox {...props} fieldKey={"caption"} />
+ <div style="bottom: 0; font-size:14px; width:100%; position:absolute">
+ <FormattedTextBox {...props} fieldKey={"caption"} hideOnLeave={"true"} />
</div>
</div>` );