Web: Client: fix avatar shifting when scrollbar appears

This commit is contained in:
Aleksandr Lushkin 2023-10-13 13:57:57 +02:00
parent a048273cb2
commit 5fa8864af2
2 changed files with 3 additions and 4 deletions

View File

@ -50,7 +50,7 @@ const StyledContainer = styled.header`
-o-transition: top 0.3s cubic-bezier(0, 0, 0.8, 1);
}
width: 100%;
width: 100vw;
margin-bottom: 48px;
}

View File

@ -23,15 +23,14 @@ const StyledNav = styled.nav`
z-index: 180 !important;
& > div {
margin: ${({ theme }) =>
getCorrectFourValuesStyle("0 4px 0 16px", theme.interfaceDirection)};
margin: 0 16px;
padding: 0;
min-width: 24px;
}
@media ${tablet} {
padding: ${({ theme }) =>
getCorrectFourValuesStyle("0 4px 0 16px", theme.interfaceDirection)};
getCorrectFourValuesStyle("0 0px 0 16px", theme.interfaceDirection)};
}
.icon-profile-menu {
cursor: pointer;