0
0
Fork 0

Improve focal point modal on mobile (#11575)

* Reduce padding around report modal and focal point modal title

* Increase max allowed height for focal point modal content
This commit is contained in:
ThibG 2019-08-15 22:49:00 +02:00 committed by Eugen Rochko
parent d37126fd03
commit 2ca6b2bb6c
2 changed files with 11 additions and 4 deletions

View file

@ -228,7 +228,7 @@ class FocalPointModal extends ImmutablePureComponent {
<Button disabled={!dirty || detecting || length(description) > 420} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
</div>
<div className='report-modal__statuses'>
<div className='focal-point-modal__content'>
{focals && (
<div className={classNames('focal-point', { dragging })} ref={this.setRef} onMouseDown={this.handleMouseDown} onTouchStart={this.handleTouchStart}>
{media.get('type') === 'image' && <img src={media.get('url')} width={width} height={height} alt='' />}