@applica-software-guru/react-admin 1.1.99 → 1.1.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applica-software-guru/react-admin",
3
- "version": "1.1.99",
3
+ "version": "1.1.101",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@ const StyledRoot = styled('div', {
19
19
  marginTop: `-${theme.spacing(2)}`,
20
20
  marginBottom: theme.spacing(margin ? 0 : 1),
21
21
  marginLeft: theme.spacing(margin ? 1 : 2),
22
- marginRight: theme.spacing(margin ? 1 : 2.5),
22
+ marginRight: theme.spacing(margin ? 1 : 2),
23
23
  width: margin ? 'auto' : `calc(100% - ${theme.spacing(5)})`
24
24
  },
25
25
  [theme.breakpoints.down('md')]: {
@@ -6,10 +6,7 @@ const StyledCreate = styled(RaCreate, {
6
6
  slot: 'root'
7
7
  })(({ theme }) => ({
8
8
  '& .RaCreate-card, & > div > div > form': {
9
- backgroundColor: theme.palette.background.default,
10
- '& .RaToolbar-mobileToolbar': {
11
- backgroundColor: 'yellow'
12
- }
9
+ backgroundColor: theme.palette.background.default
13
10
  },
14
11
  '& .RaCreate-main>.MuiPaper-root:first-of-type': {
15
12
  overflow: 'visible'
@@ -19,7 +19,7 @@ const ApplicaStyledSimpleForm = styled(RaSimpleForm, {
19
19
  })(({ theme, modal }: { theme: any; modal: boolean }) => ({
20
20
  '& .MuiGrid-root.MuiGrid-container': {
21
21
  paddingBottom: theme.spacing(modal ? 2 : 1)
22
- }
22
+ } as any
23
23
  }));
24
24
 
25
25
  export type SimpleFormProps = RaSimpleFormProps & {
@@ -44,7 +44,13 @@ const SimpleForm = ({ title, modal, content, subheader, secondary, sx, ...props
44
44
  title={cardTitle}
45
45
  subheader={subheader}
46
46
  secondary={record?.id ? secondary : null}
47
- sx={sx}
47
+ sx={{
48
+ ...sx,
49
+ '& .MuiToolbar-root': {
50
+ paddingLeft: '20px !important',
51
+ paddingRight: '20px !important'
52
+ }
53
+ }}
48
54
  border={!modal}
49
55
  divider
50
56
  >
@@ -8,6 +8,7 @@ const ApplicaStyledToolbar = styled(RaToolbar, {
8
8
  ...theme.mixins.toolbar,
9
9
  backgroundColor: theme.palette.background.paper,
10
10
  justifyContent: 'flex-end',
11
+
11
12
  '& .RaToolbar-defaultToolbar': {
12
13
  justifyContent: 'right',
13
14
  paddingBottom: theme.spacing(2),