diff --git a/app/soapbox/features/ui/components/tabs_bar.js b/app/soapbox/features/ui/components/tabs_bar.js index b7864d1ef..a4b1d5bb5 100644 --- a/app/soapbox/features/ui/components/tabs_bar.js +++ b/app/soapbox/features/ui/components/tabs_bar.js @@ -143,7 +143,7 @@ class TabsBar extends React.PureComponent { ) : ( -
+
diff --git a/app/styles/components/tabs-bar.scss b/app/styles/components/tabs-bar.scss index 372233026..b792b8fa9 100644 --- a/app/styles/components/tabs-bar.scss +++ b/app/styles/components/tabs-bar.scss @@ -44,15 +44,28 @@ &--right { margin-left: auto; align-items: center; + } + } - // Move Profile menu to the left on mobile - @media screen and (max-width: 450px) { + @media screen and (max-width: 450px) { + // Move Profile menu to the left on mobile + &__split--right { + margin: 0; + order: -1; + width: 100%; + } + + &__profile { + margin-left: 0; + } + + &__unauthenticated { + display: flex; + justify-content: space-between; + width: 100%; + + .tabs-bar__button { margin: 0; - order: -1; - - .tabs-bar__profile { - margin-left: 0; - } } } }