Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2851 | Rev 2889 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2851 Rev 2861
Línea 62... Línea 62...
62
export function WidgetBody({ children, styles = {}, ...props }) {
62
export function WidgetBody({ children, styles = {}, ...props }) {
63
  return (
63
  return (
64
    <CardContent
64
    <CardContent
65
      sx={{
65
      sx={{
66
        padding: 1,
66
        padding: 1,
67
        paddingBottom: 0,
-
 
68
        '&:last-child': { paddingBottom: 1 },
67
        '&:last-child': { paddingBottom: 1 },
69
        '.MuiCardHeader-root + &': { paddingTop: 0 },
68
        '.MuiCardHeader-root + &': { paddingTop: 0 },
70
        ...styles
69
        ...styles
71
      }}
70
      }}
72
      {...props}
71
      {...props}
Línea 122... Línea 121...
122
      component={getMediaComponent(type)}
121
      component={getMediaComponent(type)}
123
      height={height}
122
      height={height}
124
      src={src}
123
      src={src}
125
      width={width}
124
      width={width}
126
      sx={{
125
      sx={{
127
        objectFit: 'contain',
126
        objectFit: 'cover',
128
        ...styles
127
        ...styles
129
      }}
128
      }}
130
      {...props}
129
      {...props}
131
    />
130
    />
132
  )
131
  )