[WEB-5525] improvement: update WorkspaceMenuRoot to use variant prop for layout adjustments (#8196)
This commit is contained in:
parent
c7bf912cf2
commit
123f59e74b
8 changed files with 36 additions and 25 deletions
1
apps/web/ce/components/desktop/helper.ts
Normal file
1
apps/web/ce/components/desktop/helper.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export const isSidebarToggleVisible = () => true;
|
||||
2
apps/web/ce/components/desktop/index.ts
Normal file
2
apps/web/ce/components/desktop/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export * from "./helper";
|
||||
export * from "./sidebar-workspace-menu";
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
export function DesktopSidebarWorkspaceMenu() {
|
||||
return null;
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export const TopNavigationRoot = observer(() => {
|
|||
>
|
||||
{/* Workspace Menu */}
|
||||
<div className="shrink-0 flex-1">
|
||||
<WorkspaceMenuRoot />
|
||||
<WorkspaceMenuRoot variant="top-navigation" />
|
||||
</div>
|
||||
{/* Power K Search */}
|
||||
<div className="shrink-0">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue