Skip to content

Commit

Permalink
feat(WebexInterstitialMeeting): use class prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamweeks committed Mar 18, 2020
1 parent 55dbec7 commit a539699
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import React from 'react';
import PropTypes from 'prop-types';
import {Spinner} from '@momentum-ui/react';

import {WEBEX_COMPONENTS_CLASS_PREFIX} from '../../constants';

import {WebexLocalMedia, WebexMeetingInfo} from '..';

import './WebexInterstitialMeeting.css';
import './WebexInterstitialMeeting.scss';

/**
* Webex Interstitial component displays the user's local video and
Expand All @@ -15,7 +17,7 @@ import './WebexInterstitialMeeting.css';
*/
export default function WebexInterstitialMeeting({meetingID}) {
return (
<div className="interstitial-meeting">
<div className={`${WEBEX_COMPONENTS_CLASS_PREFIX}-interstitial-meeting`}>
{meetingID ? (
<React.Fragment>
<WebexMeetingInfo meetingID={meetingID} />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@import '../../styles/variables';

.#{$WEBEX_COMPONENTS_CLASS_PREFIX}-interstitial-meeting {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;

.meeting-info {
position: absolute;
align-self: flex-start;
width: 100%;
height: 25%;

background-color: rgba(255, 255, 255, 0.8);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Webex Interstitial Meeting component snapshot matches snapshot of loading while meeting is created 1`] = `
<div
className="interstitial-meeting"
className="wxc-interstitial-meeting"
>
<Spinner
className=""
Expand All @@ -17,7 +17,7 @@ exports[`Webex Interstitial Meeting component snapshot matches snapshot of loadi

exports[`Webex Interstitial Meeting component snapshot matches snapshot of meeting destination 1`] = `
<div
className="interstitial-meeting"
className="wxc-interstitial-meeting"
>
<WebexMeetingInfo
meetingID="localMedia"
Expand Down

0 comments on commit a539699

Please sign in to comment.