aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-25 02:53:38 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-25 02:53:38 -0500
commit47152d960e5b79f395fb4ecc421e5aac0c12883e (patch)
treea741e3c0c476d876e14ce0859cd04eddad2885d6 /src/client/documents/Documents.ts
parent1a32bdca177faf5a3d99bcb45aaf596ba8c706a8 (diff)
parente57c8ed3944bf737afdb2f564d159a53f8a6b1c6 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into authentication
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 4c5f26fbd..2dfff6235 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -128,8 +128,8 @@ export namespace Documents {
// example of custom display string for an image that shows a caption.
function EmbeddedCaption() {
- return `<div style="position:absolute; height:100%">
- <div style="position:relative; margin:auto; width:85%; margin:auto" >`
+ return `<div style="height:100%">
+ <div style="position:relative; margin:auto; height:85%;" >`
+ ImageBox.LayoutString() +
`</div>
<div style="position:relative; overflow:auto; height:15%; text-align:center; ">`