fix dialog css
This commit is contained in:
parent
d4efb37b03
commit
59f380d3fc
2 changed files with 21 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue