web: common: MediaViewer. fix
This commit is contained in:
parent
1bd0dd0a73
commit
2aacf2ab36
@ -37,11 +37,9 @@ const StyledMediaViewer = styled.div`
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
|
||||
|
||||
}
|
||||
span{
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 5px;
|
||||
margin-right: 10px;
|
||||
|
@ -21,15 +21,18 @@ const StyledViewer = styled(Viewer)`
|
||||
.react-viewer-attribute{
|
||||
display: none;
|
||||
}
|
||||
.react-viewer-toolbar{
|
||||
position: fixed;
|
||||
left: calc(50% - 125px);
|
||||
bottom: 4px;
|
||||
}
|
||||
.react-viewer-toolbar li{
|
||||
width: 40px;
|
||||
height:30px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
line-height: 24px;
|
||||
|
||||
}
|
||||
|
||||
.react-viewer-btn{
|
||||
background-color: transparent;
|
||||
&:hover{
|
||||
|
@ -15,7 +15,7 @@ const controlsHeight = 40;
|
||||
const StyledControls = styled.div`
|
||||
height: ${props => props.height}px;
|
||||
display: block;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
z-index: 4001;
|
||||
${props => !props.isVideo && "background-color: rgba(11,11,11,0.7);"}
|
||||
top: ${props => props.top}px;
|
||||
@ -138,7 +138,7 @@ const StyledValumeContainer = styled.div`
|
||||
.mute{
|
||||
display: inline-block;
|
||||
transform: rotate(-90deg);
|
||||
margin: 22px -12px;
|
||||
margin: 22px -14px;
|
||||
}
|
||||
`;
|
||||
const StyledDuration = styled.div`
|
||||
@ -166,7 +166,7 @@ const StyledVideoViewer = styled.div`
|
||||
left: ${props => props.left}px;
|
||||
top: ${props => props.top}px;
|
||||
z-index: 4001;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
padding-bottom: 40px;
|
||||
background-color: rgba(11,11,11,0.7);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user