aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-02-18 18:27:01 -0500
committerab <abdullah_ahmed@brown.edu>2019-02-18 18:27:01 -0500
commitc03e3fc75ef9ffb56cbfadb0c3164ead1fea4a40 (patch)
tree12b378c7bfd819aa7b22662281790ae61698daa7 /src/client/views/nodes/ImageBox.scss
parent61aa3a0a34a647a7f414fbeb72345675a5154433 (diff)
parent3f98d6ec6050e7faa15179871f0d9669c1188a78 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into decor
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
-rw-r--r--src/client/views/nodes/ImageBox.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss
index 2bd8b1d3c..36f5e0fe0 100644
--- a/src/client/views/nodes/ImageBox.scss
+++ b/src/client/views/nodes/ImageBox.scss
@@ -2,7 +2,13 @@
.imageBox-cont {
padding: 0vw;
position: absolute;
- width: 100%
+ width: 100%;
+ max-width: 100%;
+ max-height: 100%
+}
+.imageBox-cont img {
+ max-width: 100%;
+ max-height: 100%
}
.imageBox-button {