diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-16 10:27:19 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-16 10:27:19 -0400 |
| commit | 33c7af8d3e09e5add3ae56d5c7a697acee4104c3 (patch) | |
| tree | d68a4814a38e015a917a5ae3a26caa9e00bfdcbb /src/client/views/Templates.tsx | |
| parent | 6e767972574c9cd8a2cd1e10a8fa327839ca3525 (diff) | |
running into performance problems. fixed some things about summaries.
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 f0ee2856b..8d6bfbefd 100644 --- a/src/client/views/Templates.tsx +++ b/src/client/views/Templates.tsx @@ -73,7 +73,7 @@ export namespace Templates { export function ImageOverlay(width: number, height: number, field: string = "thumbnail") { return (`<div> - <div style="height:100%; position:absolute;">{layout}</div> + <div style="height:100%; width:100%; position:absolute;">{layout}</div> <div style="height:${height}px; top:0; right:0; background:rgba(0,0,0,0.25); position:absolute;overflow:hidden;"> <ImageBox id="isExpander" {...props} PanelWidth={${width}} fieldKey={"${field}"} /> </div> |
