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() {
});
const menuLabel = (
<span className="TopBar__menu-label">
<Icon name="sort" classes="TopBar__menu-icon" />
<span className="p-1">
<Icon name="sort" />
</span>
);
......
......@@ -87,8 +87,8 @@ function UserMenu({ auth, frameSync, onLogout, settings }) {
})();
const menuLabel = (
<span className="TopBar__menu-label">
<Icon name="profile" classes="TopBar__menu-icon" />
<span className="p-1">
<Icon name="profile" />
</span>
);
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 @@
@use './ThreadCard';
@use './ThreadList';
@use './ToastMessages';
@use './TopBar';
@use './VersionInfo';
// 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