diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-16 21:02:15 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-16 21:02:15 -0400 |
| commit | 530dc40f7519b8288d91db61103468ab713dfbdd (patch) | |
| tree | a1fab8ca8fffab5f97c13b529fb2245ac5680a65 /src/client/views/Templates.tsx | |
| parent | b29a0d1cef60b55f609fcd94ad38232ae557e681 (diff) | |
fixed some small layout issues related to isButton and templates
Diffstat (limited to 'src/client/views/Templates.tsx')
| -rw-r--r-- | src/client/views/Templates.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx index 5d29e68ae..5a99b3d90 100644 --- a/src/client/views/Templates.tsx +++ b/src/client/views/Templates.tsx @@ -74,8 +74,8 @@ export namespace Templates { export function ImageOverlay(width: number, height: number, field: string = "thumbnail") { return (`<div> <div style="height:100%; width:100%; position:absolute;">{layout}</div> - <div style="height:${height}px; bottom:0; right:0; background:rgba(0,0,0,0.25); position:absolute;overflow:hidden;"> - <ImageBox id="isExpander" {...props} PanelWidth={${width}} fieldKey={"${field}"} /> + <div style="height:auto; width:${width}px; bottom:0; right:0; background:rgba(0,0,0,0.25); position:absolute;overflow:hidden;"> + <ImageBox id="isExpander" {...props} style="width:100%; height=auto;" PanelWidth={${width}} fieldKey={"${field}"} /> </div> </div>`); } |
