Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2841 Rev 2842
Línea 56... Línea 56...
56
        return (
56
        return (
57
          <>
57
          <>
58
            <FeedDescription description={description} />
58
            <FeedDescription description={description} />
59
            <Widget.Media
59
            <Widget.Media
60
              type='video'
60
              type='video'
61
              image={imagePreview}
61
              poster={imagePreview}
62
              src={video}
62
              src={video}
63
              onClick={toggleModal}
63
              onClick={toggleModal}
-
 
64
              controls
64
            />
65
            />
65
          </>
66
          </>
66
        )
67
        )
67
      }
68
      }
68
      case 'image': {
69
      case 'image': {
Línea 127... Línea 128...
127
 
128
 
128
  return (
129
  return (
129
    <Widget.Body
130
    <Widget.Body
130
      styles={{
131
      styles={{
131
        padding: 0,
132
        padding: 0,
132
        '& > *:not(img, video)': {
133
        '& > *:not(img, video, .MuiCard-root)': {
133
          padding: '0 1rem'
134
          padding: '0 1rem'
-
 
135
        },
-
 
136
        '.MuiCard-root': {
-
 
137
          margin: '0 1rem'
134
        },
138
        },
135
        '& > p, & > span': {
139
        '& > p, & > span': {
136
          fontSize: '1rem',
140
          fontSize: '1rem',
137
          wordWrap: 'break-word',
141
          wordWrap: 'break-word',
138
          fontWeight: 'normal'
142
          fontWeight: 'normal'
139
        },
143
        },
140
        '& > img, & > video ': {
144
        '& > img, & > video ': {
141
          width: '100%',
145
          width: '100%',
142
          maxHeight: '600px',
146
          maxHeight: '600px',
-
 
147
          objectFit: 'contain',
-
 
148
          position: 'relative',
-
 
149
          '&::before': {
-
 
150
            content: '""',
-
 
151
            display: 'absolute',
-
 
152
            width: '100%',
-
 
153
            height: '100%',
-
 
154
            backgroundColor: '#000c',
-
 
155
            top: '0',
-
 
156
            left: 0,
-
 
157
            zIndex: -1
143
          objectFit: 'contain'
158
          }
144
        }
159
        }
145
      }}
160
      }}
146
    >
161
    >
147
      {renderContent({
162
      {renderContent({