Skip to content

Commit 7d648ae

Browse files
ShreyasSharma28Shreyas281299
authored andcommitted
fix(meetings): add-styles-to-refresh-button
1 parent f673183 commit 7d648ae

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

src/components/WebexInMeeting/WebexInMeeting.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default function WebexInMeeting({
7777
meetingID={meetingID}
7878
className={sc('authentication-guest')}
7979
switchToHostModal={() => setAuthModal('host')}
80+
style={style}
8081
/>
8182
)
8283
: <WebexMeetingHostAuthentication meetingID={meetingID} className={sc('authentication-host')} />

src/components/WebexMeeting/WebexMeeting.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export default function WebexMeeting({
144144
meetingID={ID}
145145
className={sc('authentication-guest')}
146146
switchToHostModal={() => setAuthModal('host')}
147+
style={style}
147148
/>
148149
)
149150
: <WebexMeetingHostAuthentication meetingID={ID} className={sc('authentication-host')} />

src/components/WebexMeetingGuestAuthentication/WebexMeetingGuestAuthentication.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ export default function WebexMeetingGuestAuthentication({
145145
tabIndex={102}
146146
/>
147147
{requiredCaptcha && requiredCaptcha.verificationImageURL && (
148-
<div className={sc('captcha-image')} aria-label={HINTS.captchaImage}>
148+
<div aria-label={HINTS.captchaImage}>
149149
<div className={sc('captcha-buttons')}>
150-
<img src={requiredCaptcha.verificationImageURL} alt="captcha" />
150+
<img src={requiredCaptcha.verificationImageURL} className={sc('captcha-image')} alt="captcha" />
151151
<Button
152152
type="primary"
153153
className={sc('captcha-refresh-button')}
@@ -156,7 +156,7 @@ export default function WebexMeetingGuestAuthentication({
156156
ariaLabel={HINTS.captchaRefresh}
157157
tabIndex={103}
158158
>
159-
<Icon name="refresh" />
159+
<Icon name="refresh" style={style} />
160160
</Button>
161161
</div>
162162
<CaptchaInput

src/components/WebexMeetingGuestAuthentication/WebexMeetingGuestAuthentication.scss

+6
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ $C: #{$WEBEX_COMPONENTS_CLASS_PREFIX}-meeting-guest-authentication;
5656
.#{$C}__captcha-buttons {
5757
display: flex;
5858
flex-direction: row;
59+
align-items: center;
60+
}
61+
62+
.#{$C}__captcha-image {
63+
margin-left: 0.8rem;
64+
padding-right: 0.5rem;
5965
}
6066

6167
.#{$C}__start-button-spinner {

src/components/icons/RefreshIcon.jsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ import PropTypes from 'prop-types';
1212
*
1313
*/
1414
export default function RefreshIcon({size, className, style}) {
15+
const {fill} = style || {};
16+
1517
return (
16-
<svg width={size || 24} height={size || 24} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" className={`wxc-icon ${className}`} style={style}>
18+
<svg width={size || 24} height={size || 24} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" className={`wxc-icon ${className}`} style={{fill}}>
1719
<path d="M0 0h24v24H0z" fill="none" />
18-
<path d="M17.65 6.35A7.95 7.95 0 0 0 12 4a8 8 0 1 0 7.9 9.9h-2.1a6 6 0 1 1-1.45-6.45L13 11h7V4l-2.35 2.35z" fill="#FFFFFF" />
20+
<path d="M17.65 6.35A7.95 7.95 0 0 0 12 4a8 8 0 1 0 7.9 9.9h-2.1a6 6 0 1 1-1.45-6.45L13 11h7V4l-2.35 2.35z" />
1921
</svg>
2022
);
2123
}

0 commit comments

Comments
 (0)