Fix small header glitches on mobile view

This commit is contained in:
Eduard Heimbuch
2021-07-16 13:06:46 +02:00
parent e321133ff7
commit 2de60a3007
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ type Props = {
};
const StyledLogoutButton = styled(Link)`
@media screen and (max-width: ${devices.desktop.width}px) {
@media screen and (max-width: ${devices.desktop.width - 1}px) {
border-top: 1px solid white;
margin-top: 1rem;
padding-top: 1rem;

View File

@@ -38,7 +38,7 @@ type Props = {
};
const StyledLogoutButton = styled(Link)`
@media screen and (max-width: ${devices.desktop.width}px) {
@media screen and (max-width: ${devices.desktop.width}px -1 ) {
border-top: 1px solid white;
margin-top: 1rem;
padding-top: 1rem;

View File

@@ -63,7 +63,7 @@ const DropDownMenu = styled.div`
min-width: 20rem;
}
@media screen and (max-width: ${devices.desktop.width}px) {
@media screen and (max-width: ${devices.desktop.width - 1}px) {
margin-right: 1rem;
}