diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-25 01:22:40 -0500 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-25 01:22:40 -0500 |
| commit | 80a2f5540af2aae49685de09a2b94f216f10f0d7 (patch) | |
| tree | b9ed70d2d176e31e9d69312dd2587ed13165832f /src/client/views/nodes/ImageBox.scss | |
| parent | 62e06a2c9ce5054777a7a790e5b03b96d3cd6425 (diff) | |
| parent | 41ff4813ddd9e6094d7d609c5960e1a614e00d7f (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into authentication
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
| -rw-r--r-- | src/client/views/nodes/ImageBox.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss index 136fda1d0..5b15b3329 100644 --- a/src/client/views/nodes/ImageBox.scss +++ b/src/client/views/nodes/ImageBox.scss @@ -1,6 +1,15 @@ .imageBox-cont { padding: 0vw; + position: relative; + text-align: center; + width: 100%; + max-width: 100%; + max-height: 100% +} +.imageBox-cont img { + max-width: 100%; + max-height: 100% } .imageBox-button { |
