aboutsummaryrefslogtreecommitdiff
path: root/src/components/avatar_list/avatar_list.vue
blob: 5df62ce57fcb563c1e81bf6b1a352368dc32a9b7 (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
<template>
  <ul class="avatars">
      <li class="avatars-item" v-for="(avatar, index) in slicedAvatars" :key="`avatar-${index}`">
        <UserAvatar :src="avatar.profile_image_url" class="avatars-img" />
      </li>
  </ul>
</template>

<script src="./avatar_list.js" ></script>

<style lang="scss">
@import '../../_variables.scss';
.avatars {
  display: inline-flex; /* Causes LI items to display in row. */
  list-style-type: none;
  margin: 0;
  padding: 0px 15px 0px 0px;
  flex-direction: row-reverse;

  &-item {
    height: 25px;
    margin: 0;
    padding: 0;
    width: 15px;

    .avatars-img {
      border-radius: $fallback--avatarAltRadius;
      border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
      height: 25px !important;
      width: 25px !important;
    }
  }
}
</style>