Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 864 Rev 890
Línea 18... Línea 18...
18
`
18
`
Línea 19... Línea 19...
19
 
19
 
20
const StyledNewItem = styled.div`
20
const StyledNewItem = styled.div`
21
  display: flex;
21
  display: flex;
-
 
22
  gap: 0.5rem;
-
 
23
  > a:first-child {
-
 
24
    flex-shrink: 0;
22
  gap: 0.5rem;
25
  }
23
  img {
26
  img {
24
    width: 100px;
27
    width: 100px;
25
    aspect-ratio: 3/2;
28
    aspect-ratio: 100/60;
26
    object-fit: cover;
29
    object-fit: cover;
27
  }
30
  }
28
  .post-info {
31
  .post-info {
29
    display: flex;
32
    display: flex;
30
    flex-direction: column;
33
    flex-direction: column;
31
    h4 {
34
    h4 {
32
      font-weight: 600;
35
      font-weight: 600;
33
      font-size: 1.2rem;
36
      font-size: 1.2rem;
-
 
37
      color: var(--subtitle-color);
-
 
38
      line-height: 1;
-
 
39
      max-height: calc(1.2rem * 2);
-
 
40
      overflow: hidden;
-
 
41
      &::after {
-
 
42
        content: '...';
34
      color: subtitle-color;
43
      }
35
    }
44
    }
36
    span {
45
    span {
37
      color: $font-color;
46
      color: var(--font-color);
38
      font-size: 0.8rem;
47
      font-size: 0.8rem;
39
    }
48
    }
40
  }
49
  }