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.
pull/1811/head jitsi-meet_2282
Leonard Kim 7 years ago committed by yanas
parent 955542f4a5
commit 1897c395ec
  1. 11
      react/features/dial-out/components/DialOutNumbersForm.web.js
  2. 4
      react/features/invite/components/DialInNumbersForm.js

@ -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…
Cancel
Save