diff --git a/css/_filmstrip.scss b/css/_filmstrip.scss index 28ec14fcd..fc49b0395 100644 --- a/css/_filmstrip.scss +++ b/css/_filmstrip.scss @@ -80,37 +80,6 @@ &#filmstripLocalVideo { align-self: flex-end; display: block; - - /** - * The invite button style. - */ - .filmstrip__invite { - padding-bottom: 5px; - margin-left: 2px; - } - - /** - * The invite button group style. - * TOFIX: use AtlasKit.ButtonGroup if it starts supporting different - * flex grow options for the buttons. - */ - .invite-button-group { - display: inline-flex; - justify-content: space-between; - width: 100%; - - & button { - flex-grow: 1; - flex-shrink: 1; - overflow: hidden; - } - - & > * { - flex-grow: 0; - flex-shrink: 0; - margin-left: 2px; - } - } } &.hidden { diff --git a/css/_vertical_filmstrip_overrides.scss b/css/_vertical_filmstrip_overrides.scss index 8762ffba3..51cc758f1 100644 --- a/css/_vertical_filmstrip_overrides.scss +++ b/css/_vertical_filmstrip_overrides.scss @@ -75,8 +75,7 @@ } /** - * Re-styles the local Video and invite button to better fit the - * vertical filmstrip layout. + * Re-styles the local Video to better fit vertical filmstrip layout. */ #filmstripLocalVideo { align-self: initial; @@ -85,12 +84,6 @@ flex-direction: column-reverse; height: auto; justify-content: flex-start; - - .filmstrip__invite { - padding-bottom: 0px; - padding-top: 5px; - z-index: $dropdownZ; - } } /** diff --git a/interface_config.js b/interface_config.js index bfa96ae17..5d52f2317 100644 --- a/interface_config.js +++ b/interface_config.js @@ -50,7 +50,6 @@ var interfaceConfig = { ], SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ], - INVITE_OPTIONS: [ 'invite', 'dialout', 'addtocall' ], // Determines how the video would fit the screen. 'both' would fit the whole // screen, 'height' would fit the original video height to the height of the diff --git a/react/features/invite/functions.js b/react/features/invite/functions.js index 6dbe95203..8be2b821c 100644 --- a/react/features/invite/functions.js +++ b/react/features/invite/functions.js @@ -39,18 +39,6 @@ export function getDialInNumbers(url: string): Promise<*> { return doGetJSON(url); } -/** - * Get the position of the invite option in the interfaceConfig.INVITE_OPTIONS - * list. - * - * @param {string} name - The invite option name. - * @private - * @returns {number} - The position of the option in the list. - */ -export function getInviteOptionPosition(name: string): number { - return interfaceConfig.INVITE_OPTIONS.indexOf(name); -} - /** * Sends a post request to an invite service. * @@ -84,18 +72,6 @@ export function invitePeopleAndChatRooms( // eslint-disable-line max-params }); } -/** - * Indicates if an invite option is enabled in the configuration. - * - * @param {string} name - The name of the option defined in - * interfaceConfig.INVITE_OPTIONS. - * @returns {boolean} - True to indicate that the given invite option is - * enabled, false - otherwise. - */ -export function isInviteOptionEnabled(name: string) { - return getInviteOptionPosition(name) !== -1; -} - /** * Sends an ajax request to a directory service. *