mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 04:27:49 +00:00
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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user