aboutsummaryrefslogtreecommitdiff
path: root/src/components/lists_card/lists_card.vue
blob: a5dc6371ecd1b380da597e29bbaac519032dc8f5 (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
<template>
  <div class="list-card">
    <router-link
      :to="{ name: 'lists-timeline', params: { id: list.id } }"
      class="list-name"
    >
      {{ list.title }}
    </router-link>
    <router-link
      :to="{ name: 'lists-edit', params: { id: list.id } }"
      class="button-list-edit"
    >
      <FAIcon
        class="fa-scale-110 fa-old-padding"
        icon="ellipsis-h"
      />
    </router-link>
  </div>
</template>

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

<style lang="scss">
.list-card {
  display: flex;
}

.list-name {
  flex-grow: 1;
}

.list-name,
.button-list-edit {
  margin: 0;
  padding: 1em;
  color: var(--link);
}
</style>