diff options
| author | Sam Wilkins <samuel_wilkins@brown.edu> | 2019-06-11 14:19:51 -0400 |
|---|---|---|
| committer | Sam Wilkins <samuel_wilkins@brown.edu> | 2019-06-11 14:19:51 -0400 |
| commit | c0aa7c79258ea8409611da710dc802e3481c34d8 (patch) | |
| tree | d1cfa06eaa26b768f7f31ff8a82282a423766e59 /src/client/views/Templates.tsx | |
| parent | c789df5ae7a9e364f0d95b54f4a2f330b536a393 (diff) | |
fixed the temporary inability to add documents :(
Diffstat (limited to 'src/client/views/Templates.tsx')
| -rw-r--r-- | src/client/views/Templates.tsx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx index df53284ed..e4a9258b7 100644 --- a/src/client/views/Templates.tsx +++ b/src/client/views/Templates.tsx @@ -39,20 +39,20 @@ export class Template { export namespace Templates { // export const BasicLayout = new Template("Basic layout", "{layout}"); - // export const Caption = new Template("Caption", TemplatePosition.OutterBottom, - // `<div> - // <div style="height:100%; width:100%;position:absolute;">{layout}</div> - // <div style="bottom: 0; font-size:14px; width:100%; position:absolute"> - // <FormattedTextBox {...props} fieldKey={"caption"} hideOnLeave={"true"} /> - // </div> - // </div>` ); - export const Caption = new Template("Caption", TemplatePosition.OutterBottom, `<div> <div style="height:100%; width:100%;position:absolute;">{layout}</div> - <DetailedCaptionToggle {...props}/> + <div style="bottom: 0; font-size:14px; width:100%; position:absolute"> + <FormattedTextBox {...props} fieldKey={"caption"} hideOnLeave={"true"} /> + </div> </div>` ); + // export const Caption = new Template("Caption", TemplatePosition.OutterBottom, + // `<div> + // <div style="height:100%; width:100%;position:absolute;">{layout}</div> + // <DetailedCaptionToggle {...props}/> + // </div>` ); + export const TitleOverlay = new Template("TitleOverlay", TemplatePosition.InnerTop, `<div> <div style="height:100%; width:100%;position:absolute;">{layout}</div> |
