Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7066 Rev 7067
Línea 23... Línea 23...
23
  overflow: hidden;
23
  overflow: hidden;
24
  height: fit-content;
24
  height: fit-content;
25
`
25
`
Línea 26... Línea 26...
26
 
26
 
27
const KnowledgeActions = styled(CardActions)`
27
const KnowledgeActions = styled(CardActions)`
28
  * {
28
  & > * {
29
    flex: 1;
29
    flex: 1;
30
    max-width: calc(100% / 3);
30
    max-width: calc(100% / 3);
31
  }
31
  }
Línea 88... Línea 88...
88
      <Row>
88
      <Row>
89
        <Col className="mx-auto" md="8">
89
        <Col className="mx-auto" md="8">
90
          <KnowledgeCard>
90
          <KnowledgeCard>
91
            <CardMedia
91
            <CardMedia
92
              component="img"
92
              component="img"
93
              height="194"
93
              height="250"
94
              image={knowledge.image}
94
              image={knowledge.image}
95
              alt={`${knowledge.title} image`}
95
              alt={`${knowledge.title} image`}
96
            />
96
            />
97
            <CardContent>
97
            <CardContent>
98
              <Typography variant="h5">{knowledge.title}</Typography>
98
              <Typography variant="h5">{knowledge.title}</Typography>
99
              <Typography variant="subtitle1" color="text.secondary">
99
              <Typography variant="subtitle1" color="text.secondary">
100
                {knowledge.category}
100
                {knowledge.category}
101
              </Typography>
101
              </Typography>
102
              {knowledge.description && parse(knowledge.description)}
102
              {knowledge.description && parse(knowledge.description)}
103
            </CardContent>
103
            </CardContent>
104
            <KnowledgeActions as="ul">
104
            <KnowledgeActions>
105
              <li>
105
              <li>
106
                <ReactionsButton
106
                <ReactionsButton
107
                  onChange={changeReaction}
107
                  onChange={changeReaction}
108
                  currentReaction={knowledge.reaction}
108
                  currentReaction={knowledge.reaction}
109
                  withLabel
109
                  withLabel