diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-08 18:31:14 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-08 18:31:14 -0400 |
| commit | 007433dabbd6a8a5f702ac393ecd2b40b1c3a9d8 (patch) | |
| tree | 05943eb5dfab3c1cce08f021e04273d0ac655c76 /src/client/views/Templates.tsx | |
| parent | c67fc234cf4a524c19989134d878797563207e93 (diff) | |
fixes for templates including changing the relative order of CollectionOverlayView in the stack
Diffstat (limited to 'src/client/views/Templates.tsx')
| -rw-r--r-- | src/client/views/Templates.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx index 6f706bdc5..02f9aa510 100644 --- a/src/client/views/Templates.tsx +++ b/src/client/views/Templates.tsx @@ -39,7 +39,7 @@ export namespace Templates { // export const BasicLayout = new Template("Basic layout", "{layout}"); export const OuterCaption = new Template("Outer caption", TemplatePosition.OutterBottom, - `<div><div style="margin:auto; height:calc(100%); width:100%;">{layout}</div><div style="height:(100% + 50px); width:100%; position:absolute"><FormattedTextBox {...props} fieldKey={"caption"} /></div></div>` + `<div id="screenSpace" style="margin-top: 100%; font-size:14px; background:yellow; width:100%; position:absolute"><FormattedTextBox {...props} fieldKey={"caption"} /></div>` ); export const InnerCaption = new Template("Inner caption", TemplatePosition.InnerBottom, |
