diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-25 11:25:44 -0500 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-25 11:25:44 -0500 |
| commit | 2ab7ee87a2f22d029c1cf25a8f776cb3f17a24b3 (patch) | |
| tree | ee6c0989cff19f539ca7a34a5b9d09489de21613 /src/client/views/nodes/ImageBox.scss | |
| parent | cb56876b21dc47f26747f902bd81df49eae4cf4b (diff) | |
| parent | e57c8ed3944bf737afdb2f564d159a53f8a6b1c6 (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/nodes/ImageBox.scss')
| -rw-r--r-- | src/client/views/nodes/ImageBox.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/nodes/ImageBox.scss b/src/client/views/nodes/ImageBox.scss index 5b15b3329..ea459b911 100644 --- a/src/client/views/nodes/ImageBox.scss +++ b/src/client/views/nodes/ImageBox.scss @@ -4,12 +4,14 @@ position: relative; text-align: center; width: 100%; + height: auto; max-width: 100%; max-height: 100% } + .imageBox-cont img { - max-width: 100%; - max-height: 100% + object-fit: contain; + height: 100%; } .imageBox-button { |
