{popupTarget && (
diff --git a/lib/components/app/nav-item.tsx b/lib/components/app/nav-item.tsx
index d6cd2f9f9..9c4c92be8 100644
--- a/lib/components/app/nav-item.tsx
+++ b/lib/components/app/nav-item.tsx
@@ -19,10 +19,6 @@ export const NavbarButton = styled.button`
padding: 15px;
transition: all 0.1s ease-in-out;
- @media (max-width: 768px) {
- padding: 10px;
- }
-
&:hover,
&[aria-expanded='true'] {
background: rgba(0, 0, 0, 0.05);
diff --git a/lib/components/app/view-switcher.tsx b/lib/components/app/view-switcher.tsx
index fc500f9b5..0bd47d5e8 100644
--- a/lib/components/app/view-switcher.tsx
+++ b/lib/components/app/view-switcher.tsx
@@ -3,14 +3,11 @@ import React from 'react'
import Link from '../util/link'
-type Props = {
- sticky?: boolean
-}
/**
* This component is a switcher between
* the main views of the application.
*/
-const ViewSwitcher = ({ sticky }: Props) => {
+const ViewSwitcher = (): JSX.Element => {
const intl = useIntl()
return (
{
className="view-switcher"
id="view-switcher"
role="group"
- style={
- sticky
- ? {
- height: '100%',
- left: 0,
- position: 'absolute',
- width: '100%'
- }
- : {}
- }
>
diff --git a/lib/components/mobile/mobile.css b/lib/components/mobile/mobile.css
index b1197cfbd..9685a7a52 100644
--- a/lib/components/mobile/mobile.css
+++ b/lib/components/mobile/mobile.css
@@ -20,12 +20,9 @@
.otp .navbar .mobile-header {
align-items: center;
display: flex;
- height: 50px;
+ height: 100%;
justify-content: center;
- left: 50px;
max-width: 90%;
- position: fixed;
- right: 50px;
text-align: center;
}
@@ -68,10 +65,6 @@
font-size: 18px;
}
-.otp .navbar-brand {
- padding: 7px 10px;
-}
-
/* Welcome screen */
.otp.mobile .welcome-location {
diff --git a/lib/components/user/nav-login-button.css b/lib/components/user/nav-login-button.css
index 3bb007cb1..bf20205d4 100644
--- a/lib/components/user/nav-login-button.css
+++ b/lib/components/user/nav-login-button.css
@@ -13,11 +13,6 @@
min-width: 0px;
}
-.otp.mobile .navbar .container-fluid .locale-selector-and-login {
- position: fixed;
- right: 0;
- top: 0;
-}
.otp.mobile .navbar .container-fluid .locale-selector-and-login > li {
display: inline-block;
}