fix dialog css

This commit is contained in:
Matthew Hodgson 2015-07-23 01:33:10 -07:00
parent d4efb37b03
commit 59f380d3fc
2 changed files with 21 additions and 5 deletions

View file

@ -25,6 +25,9 @@ module.exports = React.createClass({
mixins: [ImageViewController],
render: function() {
// XXX: can't we just do max-width: 80%, max-height: 80% on the CSS?
var width = this.props.width || 500;
var height = this.props.height || 500;