Commit c0a6446f authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Decouple UserMenu and SortMenu styling from TopBar

Remove unused `TopBar` SASS module.
parent 4c1d53b9
...@@ -28,8 +28,8 @@ export default function SortMenu() { ...@@ -28,8 +28,8 @@ export default function SortMenu() {
}); });
const menuLabel = ( const menuLabel = (
<span className="TopBar__menu-label"> <span className="p-1">
<Icon name="sort" classes="TopBar__menu-icon" /> <Icon name="sort" />
</span> </span>
); );
......
...@@ -87,8 +87,8 @@ function UserMenu({ auth, frameSync, onLogout, settings }) { ...@@ -87,8 +87,8 @@ function UserMenu({ auth, frameSync, onLogout, settings }) {
})(); })();
const menuLabel = ( const menuLabel = (
<span className="TopBar__menu-label"> <span className="p-1">
<Icon name="profile" classes="TopBar__menu-icon" /> <Icon name="profile" />
</span> </span>
); );
return ( return (
......
@use '../../variables' as var;
.TopBar {
// FIXME This is used by SortMenu and UserMenu.
&__menu-label {
padding: var.$layout-space--xxsmall;
}
}
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
@use './ThreadCard'; @use './ThreadCard';
@use './ThreadList'; @use './ThreadList';
@use './ToastMessages'; @use './ToastMessages';
@use './TopBar';
@use './VersionInfo'; @use './VersionInfo';
// TODO: Put these in @layer components after shared component styles have // TODO: Put these in @layer components after shared component styles have
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment