fix(icons): set a size prop for AtlasKit icons

With the upgarde of @atlaskit/icon to 7.0.0, the size prop
essentially became required to maintain its appearance in the
jitsi app, otherwise it'll unexpectedly try to take up the
available space and cause minor display issues.
This commit is contained in:
Leonard Kim 2017-07-21 11:43:13 -07:00 committed by yanas
parent 955542f4a5
commit 1897c395ec
2 changed files with 6 additions and 9 deletions

View File

@ -23,13 +23,6 @@ const DEFAULT_COUNTRY = {
name: 'United States'
};
/**
* The expand icon of the dropdown menu.
*
* @type {ReactElement}
*/
const EXPAND_ICON = <ExpandIcon label = 'expand' />;
/**
* React {@code Component} responsible for fetching and displaying dial-out
* country codes, as well as dialing a phone number.
@ -208,7 +201,9 @@ class DialOutNumbersForm extends Component {
type = 'text'
value = { dialCode || '' } />
<span className = 'dropdown-trigger-icon'>
{ EXPAND_ICON }
<ExpandIcon
label = 'expand'
size = 'medium' />
</span>
</div>
);

View File

@ -210,7 +210,9 @@ class DialInNumbersForm extends Component {
type = 'text'
value = { triggerText || '' } />
<span className = 'dial-in-numbers-trigger-icon'>
<ExpandIcon label = 'expand' />
<ExpandIcon
label = 'expand'
size = 'medium' />
</span>
</div>
);