Skip to content

Commit

Permalink
fix bug in firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasPr committed Nov 29, 2020
1 parent e2bbe4e commit e987c5e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class ClassAssociationComponent extends Component<Props> {
<Flex>
<Body style={{ marginRight: '0.5em' }}>{this.props.translate('popup.multiplicity')}</Body>
<Textfield
style={{ minWidth: 0 }}
gutter
value={element.source.multiplicity}
onChange={this.onUpdate('multiplicity', 'source')}
Expand All @@ -120,7 +121,7 @@ class ClassAssociationComponent extends Component<Props> {
<Header>{target.name}</Header>
<Flex>
<Body style={{ marginRight: '0.5em' }}>{this.props.translate('popup.multiplicity')}</Body>
<Textfield gutter value={element.target.multiplicity} onChange={this.onUpdate('multiplicity', 'target')} />
<Textfield style={{ minWidth: 0 }} gutter value={element.target.multiplicity} onChange={this.onUpdate('multiplicity', 'target')} />
</Flex>
<Flex>
<Body style={{ marginRight: '0.5em' }}>{this.props.translate('popup.role')}</Body>
Expand Down

0 comments on commit e987c5e

Please sign in to comment.