aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/description-list-item.module.scss
blob: 60cad571c5b476fd0c8d5ca082b695aa5979e560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.term {
  color: var(--color-fg-light);
  font-weight: 600;
}

.description {
  margin: 0;
  word-break: break-all;
}

.wrapper {
  display: flex;
  width: fit-content;

  &--has-separator {
    .description:not(:first-of-type) {
      &::before {
        content: "/\0000a0";
      }
    }
  }

  &--inline,
  &--inline-values {
    flex-flow: row wrap;
    column-gap: var(--spacing-2xs);
  }

  &--inline-values {
    .term {
      flex: 1 1 100%;
    }
  }

  &--stacked {
    flex-flow: column wrap;
  }
}