mirror of
https://github.com/rowyio/rowy.git
synced 2026-09-03 12:53:55 +02:00
ColumnMenu style fixes
This commit is contained in:
@@ -51,10 +51,8 @@ const useStyles = makeStyles(theme =>
|
||||
menuItemError: {
|
||||
color: theme.palette.error.main,
|
||||
"&:hover": {
|
||||
backgroundColor: fade(
|
||||
theme.palette.error.main,
|
||||
theme.palette.action.hoverOpacity
|
||||
),
|
||||
backgroundColor: theme.palette.error.main,
|
||||
color: theme.palette.error.contrastText,
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -73,7 +71,6 @@ export interface IMenuContentsProps {
|
||||
}[];
|
||||
}
|
||||
|
||||
// TODO: implement active states and actions
|
||||
export default function MenuContents({ menuItems }: IMenuContentsProps) {
|
||||
const classes = useStyles();
|
||||
|
||||
|
||||
@@ -82,10 +82,7 @@ export default function ColumnMenu() {
|
||||
const menuItems = [
|
||||
{
|
||||
type: "subheader",
|
||||
label:
|
||||
column.name === column?.key
|
||||
? column.name
|
||||
: (`${column.name}(${column?.key as string})` as string),
|
||||
label: column.name,
|
||||
},
|
||||
{
|
||||
label: "Lock",
|
||||
|
||||
Reference in New Issue
Block a user