aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
diff options
context:
space:
mode:
authorJude <julie_wang1@brown.edu>2019-02-24 15:15:24 -0500
committerJude <julie_wang1@brown.edu>2019-02-24 15:15:24 -0500
commit2eec7d883511107136d27683a309287c350f79b4 (patch)
treef57e99eda60a697836d9bf994bed337763b7bf20 /src/client/views/nodes/ImageBox.scss
parent6c6e5ebcfa80c04844a08ab23f6f7b66494b78d4 (diff)
parentd9d55e422826da1fe87aa7973c92e54bc0c99f02 (diff)
merge
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
-rw-r--r--src/client/views/nodes/ImageBox.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss
index 83392311b..5b15b3329 100644
--- a/src/client/views/nodes/ImageBox.scss
+++ b/src/client/views/nodes/ImageBox.scss
@@ -1,7 +1,15 @@
.imageBox-cont {
padding: 0vw;
- position: absolute
+ position: relative;
+ text-align: center;
+ width: 100%;
+ max-width: 100%;
+ max-height: 100%
+}
+.imageBox-cont img {
+ max-width: 100%;
+ max-height: 100%
}
.imageBox-button {