Web: Files/People: Fixed context menu for desktop.

This commit is contained in:
TatianaLopaeva 2021-01-27 20:01:52 +03:00
parent a5727795fc
commit 77ce035d15
2 changed files with 14 additions and 0 deletions

View File

@ -160,6 +160,13 @@ const StyledContainer = styled.div`
@media ${tablet} {
padding-bottom: 0;
& > div:first-child {
${(props) =>
!isMobile &&
props.width &&
css`
width: ${props.width + 16 + "px"};
`}
position: absolute;
${(props) =>
!props.isDesktop &&

View File

@ -67,6 +67,13 @@ const StyledContainer = styled.div`
@media ${tablet} {
padding-bottom: 0;
& > div:first-child {
${(props) =>
!isMobile &&
props.width &&
css`
width: ${props.width + 16 + "px"};
`}
position: absolute;
top: 56px;
z-index: 180;