Fix ptt break layout (#298)

auto_join_3.3
Roman Drozd 2020-05-08 22:26:45 +02:00 committed by GitHub
parent a9e9a1c1fa
commit c5143de647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 15 deletions

View File

@ -132,12 +132,12 @@ const styles = (theme) =>
{ {
position : 'absolute', position : 'absolute',
float : 'left', float : 'left',
top : '10%', top : '25%',
left : '50%', left : '50%',
transform : 'translate(-50%, 0%)', transform : 'translate(-50%, 0%)',
color : 'rgba(255, 255, 255, 0.7)', color : 'rgba(255, 255, 255, 0.7)',
fontSize : '2vs', fontSize : '1.3em',
backgroundColor : 'rgba(255, 0, 0, 0.5)', backgroundColor : 'rgba(255, 0, 0, 0.9)',
margin : '4px', margin : '4px',
padding : theme.spacing(2), padding : theme.spacing(2),
zIndex : 31, zIndex : 31,
@ -322,8 +322,8 @@ const Me = (props) =>
}} }}
style={spacingStyle} style={spacingStyle}
> >
<div className={classes.viewContainer} style={style}>
{ !smallContainer && { me.browser.platform !== 'mobile' &&
<div className={classnames( <div className={classnames(
classes.ptt, classes.ptt,
(micState === 'muted' && me.isSpeaking) ? 'enabled' : null (micState === 'muted' && me.isSpeaking) ? 'enabled' : null
@ -335,6 +335,7 @@ const Me = (props) =>
/> />
</div> </div>
} }
<div className={classes.viewContainer} style={style}>
<p className={ <p className={
classnames( classnames(
classes.meTag, classes.meTag,