diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-29 09:43:10 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-29 09:43:10 -0400 |
| commit | a180574f56447d6f24b4e77f87efba3a1287da9c (patch) | |
| tree | bf29b0d67964f2c72cc831a1dd359a26951e58c5 /src/client/views/Templates.tsx | |
| parent | a98672afa22eeb5f4c24edd3207c1b043cd012e7 (diff) | |
fixed title template and overlay text positioning
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 a0f9fe7e5..fef69392d 100644 --- a/src/client/views/Templates.tsx +++ b/src/client/views/Templates.tsx @@ -51,7 +51,7 @@ export namespace Templates { ); export const Title = new Template("Title", TemplatePosition.InnerTop, - `<div><div style="height:100%; width:100%;position:absolute;">{layout}</div><div style="height:25px; width:100%; position:absolute; top: 0; background-color: rgba(0, 0, 0, .4); color: white; padding:12px">{Title}</div></div>` + `<div><div style="height:100%; width:100%;position:absolute;">{layout}</div><div style="height:25px; width:100%; position:absolute; top: 0; background-color: rgba(0, 0, 0, .4); color: white; padding:2px 10px">{Title}</div></div>` ); export const TemplateList: Template[] = [Title, OuterCaption, InnerCaption, SideCaption]; |
