diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx index 998d432f163..a11b5ccf410 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx @@ -111,7 +111,7 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) => return groupedActions.map((groupItem, groupIndex) => groupItem.map((item, index) => { key++ - const className = `remixui_liitem ${group !== item.group ? 'border-top' : ''}` + const className = `px-3 remixui_liitem ${group !== item.group ? 'border-top' : ''}` group = item.group if (item.name === 'Upload File') { return ( diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx index 7dcc5cdf161..89d777f6fd1 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx @@ -67,12 +67,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { return ( <> - - - {props.title} - - - + {state.menuItems.map(({action, title, icon, placement}, index) => { if (action === 'uploadFile') { return ( @@ -83,7 +78,13 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { tooltipText={} key={`index-${action}-${placement}-${icon}`} > -