Skip to content

Commit

Permalink
[3437] Fix after code review
Browse files Browse the repository at this point in the history
Bug: #3437
Signed-off-by: Denis Nikiforov <[email protected]>
  • Loading branch information
AresEkb committed Aug 1, 2024
1 parent 5f785ee commit b2d2224
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@apollo/client": "3.10.4",
"@eclipse-sirius/sirius-components-core": "*",
"@eclipse-sirius/sirius-components-charts": "*",
"@emotion/react": "11.11.4",
"@lexical/react": "0.8.1",
"@mui/material": "5.15.19",
"@mui/icons-material": "5.15.19",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const DiagramFilter = ({ editingContextId, diagramId }: DiagramPanelActio
open={isOpen}
anchorEl={anchorRef.current}
placement="bottom-start"
transition
disablePortal
style={{ zIndex: '9999' }}>
<Paper style={{ maxHeight: '50vh', overflow: 'auto' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ export const siriusWebTheme = createTheme(
variant: 'standard',
},
},
MuiLink: {
defaultProps: {
underline: 'hover',
},
},
},
},
baseTheme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
import IconButton from '@material-ui/core/IconButton';
import { makeStyles } from '@material-ui/core/styles';
import MoreVertIcon from '@material-ui/icons/MoreVert';
import IconButton from '@mui/material/IconButton';
import { makeStyles } from 'tss-react/mui';
import MoreVertIcon from '@mui/icons-material/MoreVert';
import { useState } from 'react';
import { TreeItemActionProps, TreeItemActionState } from './TreeItemAction.types';
import { TreeItemContextMenu } from './TreeItemContextMenu';

const useTreeItemActionStyle = makeStyles((theme) => ({
const useTreeItemActionStyle = makeStyles()((theme) => ({
more: {
hover: {
backgroundColor: theme.palette.action.hover,
Expand All @@ -38,7 +38,7 @@ export const TreeItemAction = ({
onExpandAll,
onEnterEditingMode,
}: TreeItemActionProps) => {
const classes = useTreeItemActionStyle();
const { classes } = useTreeItemActionStyle();
const [state, setState] = useState<TreeItemActionState>({
showContextMenu: false,
menuAnchor: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ export const TreeFiltersMenu = ({ filters, onTreeFilterMenuItemClick }: TreeFilt
open={open}
anchorEl={anchorRef.current}
role={undefined}
placement={'bottom-start'}
transition>
placement={'bottom-start'}>
{({ TransitionProps }) => (
<Fade {...TransitionProps} timeout={350}>
<Paper>
Expand Down

0 comments on commit b2d2224

Please sign in to comment.