Fix icon size and hide on not hover
This commit is contained in:
parent
eae1b78e82
commit
3c974b8c8c
@ -499,18 +499,18 @@ class VideoPlayer extends Component {
|
|||||||
/>
|
/>
|
||||||
{ !isPresenter ?
|
{ !isPresenter ?
|
||||||
<div className={styles.hoverToolbar}>
|
<div className={styles.hoverToolbar}>
|
||||||
<VolumeSlider
|
<VolumeSlider
|
||||||
volume={volume}
|
volume={volume}
|
||||||
muted={muted || mutedByEchoTest}
|
muted={muted || mutedByEchoTest}
|
||||||
onMuted={this.handleOnMuted}
|
onMuted={this.handleOnMuted}
|
||||||
onVolumeChanged={this.handleVolumeChanged}
|
onVolumeChanged={this.handleVolumeChanged}
|
||||||
/>
|
/>
|
||||||
<ReloadButton
|
<ReloadButton
|
||||||
handleReload={this.handleReload}
|
handleReload={this.handleReload}
|
||||||
label={intl.formatMessage(intlMessages.refreshLabel)}>
|
label={intl.formatMessage(intlMessages.refreshLabel)}>
|
||||||
</ReloadButton>
|
</ReloadButton>
|
||||||
</div>
|
</div>
|
||||||
: null
|
: null
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -14,15 +14,12 @@
|
|||||||
max-width: 20vw;
|
max-width: 20vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.streamingIndicator {
|
|
||||||
}
|
|
||||||
|
|
||||||
.slider {
|
.slider {
|
||||||
@extend %baseIndicator;
|
@extend %baseIndicator;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 3.5em;
|
bottom: 3.5em;
|
||||||
left: 10em;
|
left: 1em;
|
||||||
|
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
background-color: rgba(0,0,0,0.5);
|
background-color: rgba(0,0,0,0.5);
|
||||||
@ -35,13 +32,12 @@
|
|||||||
font-size: 200%;
|
font-size: 200%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.volumeSlider {
|
.volumeSlider {
|
||||||
width: 150px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.volume {
|
.volume {
|
||||||
margin-right: 1em;
|
margin-right: 0.5em;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user