1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00

change context menu style (#6333)

* change menu context style

* change tree view menu context
This commit is contained in:
Michael An
2024-07-17 10:45:53 +08:00
committed by GitHub
parent 47e4bb4573
commit ab56b68887
7 changed files with 55 additions and 44 deletions

View File

@@ -22,6 +22,7 @@ const propTypes = {
repoID: PropTypes.string.isRequired,
posX: PropTypes.number,
posY: PropTypes.number,
getMenuContainerSize: PropTypes.func,
};
const LEFT_INDENT = 20;
@@ -347,6 +348,7 @@ class TreeView extends React.Component {
onMenuItemClick={this.onMenuItemClick}
onHideMenu={this.onHideMenu}
onShowMenu={this.onShowMenu}
getMenuContainerSize={this.props.getMenuContainerSize}
/>
</div>
);