Web: Component: fixed close button styles

This commit is contained in:
Dmitry Sychugov 2022-10-27 19:12:15 +05:00
parent 8c33f4e00a
commit 31e6717329
2 changed files with 5 additions and 4 deletions

View File

@ -91,8 +91,9 @@ export const Viewer = (props) => {
className="mediaPlayerClose"
>
<IconButton
color={"#fff"}
iconName="/static/images/cross.react.svg"
size={25}
size={17}
isClickable
/>
</ControlBtn>

View File

@ -61,10 +61,10 @@ const StyledViewerContainer = styled.div`
}
.mediaPlayerClose {
position: fixed;
top: 4px;
top: 10px;
right: 10px;
height: 25px;
width: 25px;
height: 17px;
width: 17px;
svg {
path {
fill: ${(props) => props.theme.mediaViewer.iconColor};