mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
Move into web/
This commit is contained in:
20
web/packages/shared/components/Menu/MenuItemGroup.tsx
Normal file
20
web/packages/shared/components/Menu/MenuItemGroup.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { styled } from "@mui/material";
|
||||
|
||||
export const MenuItemGroup = styled("div")(
|
||||
({ theme }) => `
|
||||
& > .MuiMenuItem-root{
|
||||
border-radius: 8px;
|
||||
background-color: transparent;
|
||||
}
|
||||
& > .MuiMenuItem-root:not(:last-of-type) {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
& > .MuiMenuItem-root:not(:first-of-type) {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
background-color: ${theme.colors.fill.faint};
|
||||
border-radius: 8px;
|
||||
`,
|
||||
);
|
Reference in New Issue
Block a user