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:
parent
955542f4a5
commit
1897c395ec
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue