Web: Client: fix avatar shifting when scrollbar appears
This commit is contained in:
parent
a048273cb2
commit
5fa8864af2
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user