Lint clean up

This commit is contained in:
Håvar Aambø Fosstveit
2019-03-31 22:22:25 +02:00
parent 2f19746fa9
commit 77298b6f2e
19 changed files with 139 additions and 145 deletions
+5 -2
View File
@@ -30,7 +30,7 @@ const styles = () =>
fontSize : '1.7vmin',
fontWeight : 'bolder',
animation : 'none',
'&.pulse' :
'&.pulse' :
{
animation : 'pulse 0.5s'
}
@@ -91,7 +91,10 @@ class HiddenPeers extends React.PureComponent
} = this.props;
return (
<div className={classnames(classes.root, this.state.className)} onClick={() => openUsersTab()}>
<div
className={classnames(classes.root, this.state.className)}
onClick={() => openUsersTab()}
>
<p>+{hiddenPeersCount} <br /> participant
{(hiddenPeersCount === 1) ? null : 's'}
</p>
+11 -11
View File
@@ -34,20 +34,20 @@ const styles = () =>
},
'&.screen' :
{
order : 1
order : 1
}
},
controls :
{
position : 'absolute',
right : 0,
top : 0,
display : 'flex',
flexDirection : 'row',
padding : '0.4vmin',
zIndex : 20,
opacity : 0,
transition : 'opacity 0.3s',
position : 'absolute',
right : 0,
top : 0,
display : 'flex',
flexDirection : 'row',
padding : '0.4vmin',
zIndex : 20,
opacity : 0,
transition : 'opacity 0.3s',
'&.visible' :
{
opacity : 1
@@ -62,7 +62,7 @@ const styles = () =>
width : 'var(--media-control-button-size)',
height : 'var(--media-control-button-size)',
backgroundColor : 'var(--media-control-button-color)',
'&:hover' :
'&:hover' :
{
opacity : 1
},
+2 -2
View File
@@ -51,7 +51,7 @@ const styles = () =>
zIndex : 20,
opacity : 0,
transition : 'opacity 0.3s',
'&.visible' :
'&.visible' :
{
opacity : 1
}
@@ -68,7 +68,7 @@ const styles = () =>
cursor : 'pointer',
transitionProperty : 'opacity, background-color',
transitionDuration : '0.15s',
'&:hover' :
'&:hover' :
{
opacity : 1
},